mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
Fix error in email authentication link
This commit is contained in:
parent
c2cdf5f3bf
commit
2c050dae1b
@ -60,7 +60,7 @@ if (isset($_GET['authenticate']) && $config['mailserver']['myaccount_verify_emai
|
||||
$verify_account_id = (int)$session_user_id;
|
||||
$user = mysql_select_single("SELECT `id`, `activekey`, `active_email` FROM `znote_accounts` WHERE `account_id`='{$verify_account_id}' LIMIT 1;");
|
||||
if ($user !== false) {
|
||||
$thisurl = config('site_url') . "myaccount.php";
|
||||
$thisurl = config('site_url') . "/myaccount.php";
|
||||
$thisurl .= "?authenticate&u=".$verify_account_id."&k=".$user['activekey'];
|
||||
|
||||
$mailer = new Mail($config['mailserver']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user