]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/Saml2Service.php
Apply fixes from StyleCI
[bookstack] / app / Auth / Access / Saml2Service.php
index 3f0f40ccc2a52dec4809ba0a0a2a2d1923b3302c..6cbfdac0b2808a646ea284fab404aa01dbc2fa21 100644 (file)
@@ -2,15 +2,11 @@
 
 namespace BookStack\Auth\Access;
 
-use BookStack\Actions\ActivityType;
 use BookStack\Auth\User;
 use BookStack\Exceptions\JsonDebugException;
 use BookStack\Exceptions\SamlException;
 use BookStack\Exceptions\StoppedAuthenticationException;
 use BookStack\Exceptions\UserRegistrationException;
-use BookStack\Facades\Activity;
-use BookStack\Facades\Theme;
-use BookStack\Theming\ThemeEvents;
 use Exception;
 use Illuminate\Support\Str;
 use OneLogin\Saml2\Auth;
@@ -392,6 +388,7 @@ class Saml2Service extends ExternalAuthService
         }
 
         $this->loginService->login($user, 'saml2');
+
         return $user;
     }
 }