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:
soohwa committed 2017-10-13 08:15:19 +02:00
1 parent 3ab33ed826
commit 77d23df87f
3 files changed
+53 -1

No files matched your search

+5
View File
@@ -1,4 +1,9 @@
Meteor.startup(() => {
Accounts.validateLoginAttempt(function (options) {
return !options.user.loginDisabled;
});
Authentication = {};
Authentication.checkUserId = function (userId) {