summaryrefslogtreecommitdiffstats
path: root/web/html/passreset.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/passreset.php')
-rw-r--r--web/html/passreset.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/passreset.php b/web/html/passreset.php
index 9541021..9d8e1ae 100644
--- a/web/html/passreset.php
+++ b/web/html/passreset.php
@@ -25,7 +25,7 @@ if (isset($_GET['resetkey'], $_POST['email'], $_POST['password'], $_POST['confir
$error = __('Missing a required field.');
} elseif ($password != $confirm) {
$error = __('Password fields do not match.');
- } elseif ($uid == NULL || $uid == 'None') {
+ } elseif ($uid == null) {
$error = __('Invalid e-mail.');
}