From 2c050dae1b912b9e94fc394252474ff7e62aeb4a Mon Sep 17 00:00:00 2001 From: Luan Luciano Date: Mon, 27 Jun 2022 07:59:30 -0300 Subject: [PATCH] Fix error in email authentication link --- myaccount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myaccount.php b/myaccount.php index 9111dfc..46daf6f 100644 --- a/myaccount.php +++ b/myaccount.php @@ -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']);