summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/app/lib/bitmask.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js
index 8bcb01f..94912ac 100644
--- a/ui/app/lib/bitmask.js
+++ b/ui/app/lib/bitmask.js
@@ -141,15 +141,6 @@ var bitmask = function(){
*/
user: {
/**
- * Check wich user is active
- *
- * @return {Promise<string>} The uid of the active user
- */
- active: function() {
- return call(['bonafide', 'user', 'active']);
- },
-
- /**
* Register a new user
*
* @param {string} uid The uid to be created
@@ -188,12 +179,8 @@ var bitmask = function(){
* Logout
*
* @param {string} uid The uid to log out.
- * If no uid is provided the active user will be used
*/
logout: function(uid) {
- if (typeof uid !== 'string') {
- uid = "";
- }
return call(['bonafide', 'user', 'logout', uid]);
},