Fixed reset password page
This commit is contained in:
parent
b930cf1ab7
commit
e235682c91
|
@ -210,7 +210,7 @@
|
||||||
if ($resetKey == NULL || $userKey == NULL)
|
if ($resetKey == NULL || $userKey == NULL)
|
||||||
redirect(base_url("login"));
|
redirect(base_url("login"));
|
||||||
|
|
||||||
$username = base64_decode($userKey);
|
$username = base64_decode(urldecode($userKey));
|
||||||
if (!$this->LoginModel->resetKeyIsValid($username, $resetKey))
|
if (!$this->LoginModel->resetKeyIsValid($username, $resetKey))
|
||||||
redirect(base_url('login'));
|
redirect(base_url('login'));
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user