mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
Delete user feature
This commit is contained in:
parent
11a91bfc78
commit
cdef8a33e4
6 changed files with 62 additions and 2 deletions
|
|
@ -95,6 +95,11 @@ Template.editProfilePopup.events({
|
|||
});
|
||||
} else Popup.back();
|
||||
},
|
||||
'click #deleteButton'() {
|
||||
Users.remove(Meteor.userId());
|
||||
Popup.close();
|
||||
AccountsTemplates.logout();
|
||||
},
|
||||
});
|
||||
|
||||
// XXX For some reason the useraccounts autofocus isnt working in this case.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue