Merge pull request #2726 from dpalou/MOBILE-3605

MOBILE-3605 login: IAB should not retain cookies
main
Dani Palou 2021-04-28 12:14:02 +02:00 committed by GitHub
commit 21c50de660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -691,6 +691,7 @@ export class CoreLoginHelperProvider {
if (this.isSSOEmbeddedBrowser(typeOfLogin)) {
CoreUtils.openInApp(loginUrl, {
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'),
});
} else {