fix signout
This commit is contained in:
parent
f208e1fc7b
commit
5fc4ab5101
3 changed files with 9 additions and 5 deletions
|
|
@ -4,6 +4,8 @@ angular.module('copay.controllerUtils').factory('controllerUtils', function ($ro
|
|||
var root = {};
|
||||
|
||||
root.logout = function() {
|
||||
console.log('### DELETING WALLET'); //TODO
|
||||
$rootScope.wallet = null;
|
||||
delete $rootScope['wallet'];
|
||||
$rootScope.totalBalance = 0;
|
||||
$location.path('signin');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue