diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-07-18 19:15:38 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-24 17:14:12 -0400 |
commit | 00a9de84771b27e62515ce6d878d182c8f053de5 (patch) | |
tree | fbfda5c86a70ed0f902f4d85603d07e51e1740c5 /ui/app/lib | |
parent | 8cebf955ad71975a20275a780a67b31099759e3a (diff) |
[feat] remove active user from get_token
We need to update the UI to use the new API.
- Resolves: #8974
Diffstat (limited to 'ui/app/lib')
-rw-r--r-- | ui/app/lib/bitmask.js | 6 |
1 files changed, 4 insertions, 2 deletions
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<string>} The token */ - get_token: function() { - return call(['mail', 'get_token']); + get_token: function(uid) { + return call(['mail', 'get_token', uid]); }, /** |