summaryrefslogtreecommitdiffstats
path: root/application/controllers/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/User.php')
-rw-r--r--application/controllers/User.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/controllers/User.php b/application/controllers/User.php
index 15eab1b2f..01e310a8f 100644
--- a/application/controllers/User.php
+++ b/application/controllers/User.php
@@ -302,15 +302,15 @@ class User extends MY_Controller {
$this->duser->require_implemented("can_reset_password");
$key = $this->uri->segment(3);
- if ($_SERVER["REQUEST_METHOD"] == "GET" && $key === false) {
+ if ($_SERVER["REQUEST_METHOD"] == "GET" && $key === null) {
return $this->_reset_password_username_form();
}
- if ($key === false) {
+ if ($key === null) {
return $this->_reset_password_send_mail();
}
- if ($key !== false) {
+ if ($key !== null) {
return $this->_reset_password_form();
}
}