Refactor Auth class for consistency.

This commit is contained in:
Taylor Otwell
2011-08-11 13:45:17 -05:00
parent 982789a320
commit 2e34309539

View File

@@ -132,9 +132,9 @@ class Auth {
*/ */
public static function logout() public static function logout()
{ {
Session::forget(static::$key);
static::$user = null; static::$user = null;
Session::forget(static::$key);
} }
} }