mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Added a message for successful auth transfers
This commit is contained in:
@@ -685,9 +685,12 @@ var changeAuthorized = function (site, action, username) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Console.info(site + ": " +
|
||||
(action === "add" ? "added " : "removed ")
|
||||
+ username);
|
||||
const verbs = {
|
||||
add: "added",
|
||||
remove: "removed",
|
||||
transfer: "transferred"
|
||||
};
|
||||
Console.info(`${site}: ${verbs[action]} ${username}`);
|
||||
return 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user