From 00a9de84771b27e62515ce6d878d182c8f053de5 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 18 Jul 2017 19:15:38 +0200 Subject: [feat] remove active user from get_token We need to update the UI to use the new API. - Resolves: #8974 --- ui/app/lib/bitmask.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ui') diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js index bef54013..b8d6a953 100644 --- a/ui/app/lib/bitmask.js +++ b/ui/app/lib/bitmask.js @@ -316,10 +316,12 @@ var bitmask = function(){ * * This token is used as password to authenticate in the IMAP and SMTP services. * + * @param {string} uid The uid to get status about + * * @return {Promise} The token */ - get_token: function() { - return call(['mail', 'get_token']); + get_token: function(uid) { + return call(['mail', 'get_token', uid]); }, /** -- cgit v1.2.3