mirror of
https://github.com/wekan/wekan.git
synced 2026-01-03 16:18:49 +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
|
|
@ -55,8 +55,9 @@ template(name="editProfilePopup")
|
|||
input.js-profile-email(type="email" value="{{emails.[0].address}}" readonly)
|
||||
div.buttonsContainer
|
||||
input.primary.wide(type="submit" value="{{_ 'save'}}")
|
||||
div
|
||||
input#deleteButton.primary.wide(type="button" value="{{_ 'delete'}}")
|
||||
if allowUserDelete
|
||||
div
|
||||
input#deleteButton.primary.wide(type="button" value="{{_ 'delete'}}")
|
||||
|
||||
template(name="changePasswordPopup")
|
||||
+atForm(state='changePwd')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue