Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Checks for deleted users on login

  • Loading branch information...
commit 883f74a0c8ee3f740f35c1e401aaeda6d49f34fd 1 parent 4745bbd
@jonasdekeukelaere jonasdekeukelaere authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/users/model/model.php
View
4 modules/users/model/model.php
@@ -87,7 +87,7 @@ public static function getByEmail($email)
UNIX_TIMESTAMP(i.edited_on) AS edited_on,
UNIX_TIMESTAMP(i.blocked_on) AS blocked_on
FROM users AS i
- WHERE i.email = ?',
+ WHERE i.email = ? AND i.deleted = "N"',
array($email)
);
@@ -304,4 +304,4 @@ public static function search($query)
return $return;
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.