fixed logout
Cette révision appartient à :
Parent
b2759252e3
révision
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;
|
||||
}
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket