fix cleaning up auth dict on sign out
Change-Id: I5cb3c840b5ca5c16d21bea0af379dc36472ad462
This commit is contained in:
parent
589f49b4fe
commit
2895164a84
@ -129,8 +129,8 @@
|
|||||||
|
|
||||||
/** This function will initate a sign out. */
|
/** This function will initate a sign out. */
|
||||||
function doSignOut() {
|
function doSignOut() {
|
||||||
$rootScope.currentUser = null;
|
$rootScope.auth.currentUser = null;
|
||||||
$rootScope.isAuthenticated = false;
|
$rootScope.auth.isAuthenticated = false;
|
||||||
$window.location.href = sign_out_url;
|
$window.location.href = sign_out_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user