Commit 2e343095 authored by Taylor Otwell's avatar Taylor Otwell

Refactor Auth class for consistency.

parent 982789a3
...@@ -132,9 +132,9 @@ class Auth { ...@@ -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);
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment