]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/LoginService.php
Revamped workings of WYSIWYG code blocks
[bookstack] / app / Auth / Access / LoginService.php
index b36adb5220f7de11ecf7c1ee706b41dd32251124..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', 'openid'];
+            $guards = ['standard', 'ldap', 'saml2', 'oidc'];
             foreach ($guards as $guard) {
                 auth($guard)->login($user);
             }