We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit df0d7b74 authored by jurgbohn's avatar jurgbohn

Fixed form

parent 42418693
...@@ -62,7 +62,7 @@ if (isset($_GET['code'])) { ...@@ -62,7 +62,7 @@ if (isset($_GET['code'])) {
$smarty->assign('sent', true); $smarty->assign('sent', true);
} }
if (isset($_POST['request']) && isset($_POST['user'])) { if (isset($_POST['recover']) && isset($_POST['user'])) {
$username = $_POST['user']; $username = $_POST['user'];
$res = $mdb2->query("SELECT * FROM Users WHERE username='" $res = $mdb2->query("SELECT * FROM Users WHERE username='"
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
<p><a href='http://libre.fm' rel='bookmark' class='vcard fn org url'>libre.fm</a> Password Recovery</p> <p><a href='http://libre.fm' rel='bookmark' class='vcard fn org url'>libre.fm</a> Password Recovery</p>
<label for='username'>Username <span>must be valid!</span></label> <label for='username'>Username <span>must be valid!</span></label>
<input id='username' name='username' type='text' value='' /> <input id='username' name='user' type='text' value='' />
<input type='submit' name='request' value='Recover my password!'/> <input type='submit' name='recover' value='Recover my password!'/>
</fieldset> </fieldset>
</form> </form>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment