KEYCLOAK-8619 Fix check-sso when there is no cookie

This commit is contained in:
stianst 2018-11-09 09:04:45 +01:00 committed by Bruno Oliveira da Silva
parent 6450a457d0
commit 1ee6fd7130

View file

@ -52,7 +52,15 @@
clientId: clientId,
origin: origin
}
checkCookie();
if (!cookie) {
if (sessionState != '') {
callback('changed');
} else {
callback('unchanged');
}
} else {
checkCookie();
}
} else {
callback('error');
}