]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/LoginService.php
Fixed tests from streaming changes
[bookstack] / app / Auth / Access / LoginService.php
index e02296b37309fa731f6d916a9ae416b22da8685f..f41570417ef7f4594495a042e9834eda69adbb7d 100644 (file)
@@ -47,7 +47,7 @@ class LoginService
 
         // Authenticate on all session guards if a likely admin
         if ($user->can('users-manage') && $user->can('user-roles-manage')) {
-            $guards = ['standard', 'ldap', 'saml2'];
+            $guards = ['standard', 'ldap', 'saml2', 'oidc'];
             foreach ($guards as $guard) {
                 auth($guard)->login($user);
             }