diff --git a/src/Subfission/Cas/Middleware/CASAuth.php b/src/Subfission/Cas/Middleware/CASAuth.php index a5c0a96..3e40fa8 100644 --- a/src/Subfission/Cas/Middleware/CASAuth.php +++ b/src/Subfission/Cas/Middleware/CASAuth.php @@ -33,9 +33,9 @@ public function handle($request, Closure $next) } // We setup CAS here to reduce the amount of objects we need to build at runtime. This // way, we only create the CAS calls only if the user has not yet authenticated. - session()->put('cas_user', $this->cas->User()); + session()->put('cas_user', $this->cas->user()); } return $next($request); } -} \ No newline at end of file +}