]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/RegistrationService.php
Default OpenID display name set to standard value
[bookstack] / app / Auth / Access / RegistrationService.php
index 8cf76013a40c1ed04254ca07bb3443ef709e2db4..9136b37b5a86ea49f1f0a8ccaac27b1fd25eb27d 100644 (file)
@@ -106,13 +106,4 @@ class RegistrationService
         }
     }
 
-    /**
-     * Alias to the UserRepo method of the same name.
-     * Attaches the default system role, if configured, to the given user.
-     */
-    public function attachDefaultRole(User $user): void
-    {
-        $this->userRepo->attachDefaultRole($user);
-    }
-
 }
\ No newline at end of file