mirror of
https://github.com/wekan/wekan.git
synced 2026-02-18 22:18:07 +01:00
Add admin setting to prevent users to self deleting their account
This commit is contained in:
parent
84ba42f42e
commit
98e3b0ce77
5 changed files with 31 additions and 2 deletions
|
|
@ -113,6 +113,14 @@ template(name='accountSettings')
|
|||
span {{_ 'yes'}}
|
||||
input.wekan-form-control#accounts-allowUserNameChange(type="radio" name="allowUserNameChange" value="false" checked="{{#unless allowUserNameChange}}checked{{/unless}}")
|
||||
span {{_ 'no'}}
|
||||
li
|
||||
li.accounts-form
|
||||
.title {{_ 'accounts-allowUserDelete'}}
|
||||
.form-group.flex
|
||||
input.wekan-form-control#accounts-allowUserDelete(type="radio" name="allowUserDelete" value="true" checked="{{#if allowUserDelete}}checked{{/if}}")
|
||||
span {{_ 'yes'}}
|
||||
input.wekan-form-control#accounts-allowUserDelete(type="radio" name="allowUserDelete" value="false" checked="{{#unless allowUserDelete}}checked{{/unless}}")
|
||||
span {{_ 'no'}}
|
||||
li
|
||||
button.js-accounts-save.primary {{_ 'save'}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue