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

Commit 7736d92a authored by jurgbohn's avatar jurgbohn

Minor fix

parent 4ad48ef4
......@@ -58,11 +58,11 @@ if (isset($_GET['code'])) {
. $mdb2->quote($email, 'text');
$mdb2->exec($sql);
$sql = "DELETE FROM Recovery_Request WHERE code=" . $mdb2->quote($_GET['code'], 'text');
$mdb2->exec($sql);
$content = "Hi!\n\nYour password has been set to " . $password . "\n\n - The Libre.fm Team";
sendEmail($content, $email);
$sql = "DELETE FROM Recovery_Request WHERE code=" . $mdb2->quote($_GET['code'], 'text');
$mdb2->exec($sql);
$smarty->assign('changed', true);
}
......
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