Merge pull request #2726 from dpalou/MOBILE-3605
MOBILE-3605 login: IAB should not retain cookiesmain
commit
21c50de660
|
@ -691,6 +691,7 @@ export class CoreLoginHelperProvider {
|
||||||
if (this.isSSOEmbeddedBrowser(typeOfLogin)) {
|
if (this.isSSOEmbeddedBrowser(typeOfLogin)) {
|
||||||
CoreUtils.openInApp(loginUrl, {
|
CoreUtils.openInApp(loginUrl, {
|
||||||
clearsessioncache: 'yes', // Clear the session cache to allow for multiple logins.
|
clearsessioncache: 'yes', // Clear the session cache to allow for multiple logins.
|
||||||
|
clearcache: 'yes', // Also clear other cookies in case login is stored in a non-session cookie.
|
||||||
closebuttoncaption: Translate.instant('core.login.cancel'),
|
closebuttoncaption: Translate.instant('core.login.cancel'),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue