diff --git a/system/auth.php b/system/auth.php index e9734896..532b358e 100644 --- a/system/auth.php +++ b/system/auth.php @@ -132,9 +132,9 @@ class Auth { */ public static function logout() { - Session::forget(static::$key); - static::$user = null; + + Session::forget(static::$key); } } \ No newline at end of file