summaryrefslogtreecommitdiff
path: root/ui/app/lib
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-02-09 17:24:25 +0100
committerRuben Pollan <meskio@sindominio.net>2017-02-23 00:26:46 +0100
commit59cd23bd3e23bf2b439ad26271733a1b5c8edf68 (patch)
treef8c82c7cc5e0e2fbda93e6fc92a08852a60d1961 /ui/app/lib
parent9f2b3b55ef08d908220f0b401aeec375d1c5ea07 (diff)
[feat] eliminate the active user from bonafide
Active user is now only a concept of the cli. For it we add a ~/.config/leap/bitmaskctl.cfg file. - Resolves: #8769
Diffstat (limited to 'ui/app/lib')
-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 8bcb01fe..94912acc 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]);
},