aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 46636548b..e5fb7320a 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1425,8 +1425,9 @@
{
if (
(($entity->disable_reason == 'new_user') || (
- $entity->last_action == 0 && $entity->last_login == 0
- ))
+ // if this isn't set at all they're a "new user"
+ !$entity->validated
+ ))
&& (!isloggedin()))
return true;