diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-05-04 11:14:49 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2023-05-04 11:14:49 -0700 |
commit | 4ecae833850b66b03b425776dc07d5dc7e6327a4 (patch) | |
tree | 85cd0dcbed4b0a1a5734cb2533100d49b5d7b503 /lib/private/User | |
parent | f8b4e0025b46a115d62ab088174c654bde28ed22 (diff) | |
download | nextcloud-server-4ecae833850b66b03b425776dc07d5dc7e6327a4.tar.gz nextcloud-server-4ecae833850b66b03b425776dc07d5dc7e6327a4.zip |
fix(user): Can change display name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'lib/private/User')
-rw-r--r-- | lib/private/User/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/User.php b/lib/private/User/User.php index c3d8af6f358..ff357a3badb 100644 --- a/lib/private/User/User.php +++ b/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); |