fixed logout
This commit is contained in:
parent
b2759252e3
commit
e29085b8c2
|
@ -138,7 +138,7 @@ app.controller('loginCtrl', [
|
|||
vm.signOut = function () {
|
||||
// TODO the sign-out url for each account should be fixed.
|
||||
return Auth.signOut().then(function () {
|
||||
if (!Auth.hasSession()) {
|
||||
if (Auth.sessions.length === 0) {
|
||||
$location.path('/splash-page');
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue