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