MOBILE-2844 mac: Use inappbrowser for oauth in Mac

main
Dani Palou 2019-01-25 11:51:20 +01:00
parent 336b50cc92
commit 05c552c343
1 changed files with 2 additions and 2 deletions

View File

@ -647,8 +647,8 @@ export class CoreLoginHelperProvider {
loginUrl += '&oauthsso=' + params.id; loginUrl += '&oauthsso=' + params.id;
if (this.appProvider.isLinux()) { if (this.appProvider.isLinux() || this.appProvider.isMac()) {
// In Linux desktop apps, always use embedded browser. // In Linux and Mac desktop apps, always use embedded browser.
this.utils.openInApp(loginUrl); this.utils.openInApp(loginUrl);
} else { } else {
// Always open it in browser because the user might have the session stored in there. // Always open it in browser because the user might have the session stored in there.