mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Add the ability for the admin :
- disabling a login for a user (not himself) - enabling a login for a user - transfering the ownership of all user's boards to himself
This commit is contained in:
parent
3ab33ed826
commit
77d23df87f
3 changed files with 53 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
|||
Meteor.startup(() => {
|
||||
|
||||
Accounts.validateLoginAttempt(function (options) {
|
||||
return !options.user.loginDisabled;
|
||||
});
|
||||
|
||||
Authentication = {};
|
||||
|
||||
Authentication.checkUserId = function (userId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue