summaryrefslogtreecommitdiff
path: root/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/lib/bitmask.js6
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]);
},
/**