diff --git a/src/Auth.php b/src/Auth.php index f456e6e..d0c6529 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -1462,7 +1462,7 @@ final class Auth extends UserManager { throw new DatabaseError($e->getMessage()); } - return (int) $enabled === 1; + return ((int) $enabled) === 1; } else { throw new NotLoggedInException();