diff options
Diffstat (limited to 'lib/private/user/session.php')
-rw-r--r-- | lib/private/user/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/user/session.php b/lib/private/user/session.php index 8c9b3e264e3..6abf8fb80d2 100644 --- a/lib/private/user/session.php +++ b/lib/private/user/session.php @@ -106,7 +106,7 @@ class Session implements IUserSession, Emitter { return $this->activeUser; } else { $uid = $this->session->get('user_id'); - if ($uid) { + if ($uid !== null) { $this->activeUser = $this->manager->get($uid); return $this->activeUser; } else { |