Skip to content
Snippets Groups Projects
Commit 481f33a0 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

Changed Accounts_AllowDeleteOwnAccount default value to false

parent e483b7c3
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ if not RocketChat.models.Settings.findOneById 'uniqueID' ...@@ -3,7 +3,7 @@ if not RocketChat.models.Settings.findOneById 'uniqueID'
RocketChat.models.Settings.createWithIdAndValue 'uniqueID', process.env.DEPLOYMENT_ID or Random.id() RocketChat.models.Settings.createWithIdAndValue 'uniqueID', process.env.DEPLOYMENT_ID or Random.id()
RocketChat.settings.addGroup 'Accounts', -> RocketChat.settings.addGroup 'Accounts', ->
@add 'Accounts_AllowDeleteOwnAccount', true, { type: 'boolean', public: true } @add 'Accounts_AllowDeleteOwnAccount', false, { type: 'boolean', public: true }
@add 'Accounts_AllowUserProfileChange', true, { type: 'boolean', public: true } @add 'Accounts_AllowUserProfileChange', true, { type: 'boolean', public: true }
@add 'Accounts_AllowUserAvatarChange', true, { type: 'boolean', public: true } @add 'Accounts_AllowUserAvatarChange', true, { type: 'boolean', public: true }
@add 'Accounts_AllowUsernameChange', true, { type: 'boolean', public: true } @add 'Accounts_AllowUsernameChange', true, { type: 'boolean', public: true }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment