Merge pull request #1733 from dpalou/MOBILE-2829
MOBILE-2829 mac: Use inappbrowser for SSO in Macmain
commit
cb7e12e355
|
@ -16,7 +16,5 @@
|
|||
<true/>
|
||||
<key>com.apple.security.device.audio-input</key>
|
||||
<true/>
|
||||
<key>LSMultipleInstancesProhibited</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
|
@ -561,8 +561,8 @@ export class CoreLoginHelperProvider {
|
|||
* @return {boolean} True if embedded browser, false othwerise.
|
||||
*/
|
||||
isSSOEmbeddedBrowser(code: number): boolean {
|
||||
if (this.appProvider.isLinux()) {
|
||||
// In Linux desktop apps, always use embedded browser.
|
||||
if (this.appProvider.isLinux() || this.appProvider.isMac()) {
|
||||
// In Linux and Mac desktop apps, always use embedded browser.
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue