Skip to content

Commit

Permalink
Merge pull request #38088 from nextcloud/fix/38053/change-display-name
Browse files Browse the repository at this point in the history
fix(user): Can change display name
  • Loading branch information
blizzz authored May 9, 2023
2 parents ca88a18 + 4ecae83 commit d946256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public function canChangePassword() {
* @return bool
*/
public function canChangeDisplayName() {
if (!$this->config->getSystemValueBool('allow_user_to_change_display_name')) {
if (!$this->config->getSystemValueBool('allow_user_to_change_display_name', true)) {
return false;
}
return $this->backend->implementsActions(Backend::SET_DISPLAYNAME);
Expand Down

0 comments on commit d946256

Please sign in to comment.