fix(user): Can change display name

Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/38088/head
Christopher Ng 3 years ago
parent f8b4e0025b
commit 4ecae83385
  1. 2
      lib/private/User/User.php

@ -416,7 +416,7 @@ class User implements IUser {
* @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);

Loading…
Cancel
Save