]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/LoginService.php
Merge branch 'openid' of https://github.com/jasperweyne/BookStack into jasperweyne...
[bookstack] / app / Auth / Access / LoginService.php
index e02296b37309fa731f6d916a9ae416b22da8685f..b36adb5220f7de11ecf7c1ee706b41dd32251124 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', 'openid'];
             foreach ($guards as $guard) {
                 auth($guard)->login($user);
             }