mirror of
https://github.com/wekan/wekan.git
synced 2026-02-03 23:21:47 +01:00
Merge pull request #1627 from thiagofernando/devel
Includes possibility to block username change
This commit is contained in:
commit
0b9328a1be
48 changed files with 106 additions and 72 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