]> BookStack Code Mirror - bookstack/commitdiff
Default OpenID display name set to standard value 2169/head
authorJasper Weyne <redacted>
Wed, 5 Aug 2020 11:14:46 +0000 (13:14 +0200)
committerJasper Weyne <redacted>
Wed, 5 Aug 2020 11:14:46 +0000 (13:14 +0200)
app/Config/openid.php

index 20089518b7b05aa426df32b061afba57faf96899..90eb6d5dbcfda8cfcb1831798951e2d640bae51d 100644 (file)
@@ -11,7 +11,7 @@ return [
     // Attribute, within a OpenId token, to find the user's email address
     'email_attribute' => env('OPENID_EMAIL_ATTRIBUTE', 'email'),
     // Attribute, within a OpenId token, to find the user's display name
-    'display_name_attributes' => explode('|', env('OPENID_DISPLAY_NAME_ATTRIBUTES', 'username')),
+    'display_name_attributes' => explode('|', env('OPENID_DISPLAY_NAME_ATTRIBUTES', 'name')),
     // Attribute, within a OpenId token, to use to connect a BookStack user to the OpenId user.
     'external_id_attribute' => env('OPENID_EXTERNAL_ID_ATTRIBUTE', null),