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

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;
}