mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Includes possibility to block username change
This commit is contained in:
parent
c48c18c4e9
commit
2fa1b3122d
47 changed files with 139 additions and 71 deletions
|
|
@ -23,11 +23,17 @@ AccountSettings.allow({
|
|||
|
||||
if (Meteor.isServer) {
|
||||
Meteor.startup(() => {
|
||||
AccountSettings.upsert({ _id: 'accounts-allowEmailChange' }, {
|
||||
AccountSettings.upsert({_id: 'accounts-allowEmailChange'}, {
|
||||
$setOnInsert: {
|
||||
booleanValue: false,
|
||||
sort: 0,
|
||||
},
|
||||
});
|
||||
AccountSettings.upsert({_id: 'accounts-allowUserNameChange'}, {
|
||||
$setOnInsert: {
|
||||
booleanValue: false,
|
||||
sort: 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue