From 2895164a84ac71f48791c360be68d79007dc9fec Mon Sep 17 00:00:00 2001 From: Andrey Pavlov Date: Thu, 18 Feb 2016 10:46:59 +0300 Subject: [PATCH] fix cleaning up auth dict on sign out Change-Id: I5cb3c840b5ca5c16d21bea0af379dc36472ad462 --- refstack-ui/app/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/refstack-ui/app/app.js b/refstack-ui/app/app.js index ab8587f8..5335e0c2 100644 --- a/refstack-ui/app/app.js +++ b/refstack-ui/app/app.js @@ -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; }