diff --git a/app/Http/Middleware/PasswordProtection.php b/app/Http/Middleware/PasswordProtection.php index ea702b3f0a65..456bb3cf9d77 100644 --- a/app/Http/Middleware/PasswordProtection.php +++ b/app/Http/Middleware/PasswordProtection.php @@ -105,7 +105,7 @@ class PasswordProtection return response()->json(['message' => 'Could not decode the response from Microsoft'], 412); } - if($payload->preferred_username == auth()->user()->email)){ + if($payload->preferred_username == auth()->user()->email){ Cache::put(auth()->user()->hashed_id.'_'.auth()->user()->account_id.'_logged_in', Str::random(64), $timeout); return $next($request);