fix cleaning up auth dict on sign out

Change-Id: I5cb3c840b5ca5c16d21bea0af379dc36472ad462
This commit is contained in:
Andrey Pavlov 2016-02-18 10:46:59 +03:00
parent 589f49b4fe
commit 2895164a84
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@
/** This function will initate a sign out. */
function doSignOut() {
$rootScope.currentUser = null;
$rootScope.isAuthenticated = false;
$rootScope.auth.currentUser = null;
$rootScope.auth.isAuthenticated = false;
$window.location.href = sign_out_url;
}