FIX: Switch to full screen external login for Safari

This is a temporary solution, currently popup auth fails in Safari.
This commit is contained in:
Penar Musaraj 2019-09-11 00:18:12 -04:00
parent 93b0ffc85c
commit 7252c14a16

View File

@ -217,7 +217,10 @@ export default Ember.Controller.extend(ModalFunctionality, {
// On Mobile, Android or iOS always go with full screen
if (
this.isMobileDevice ||
(capabilities && (capabilities.isIOS || capabilities.isAndroid))
(capabilities &&
(capabilities.isIOS ||
capabilities.isAndroid ||
capabilities.isSafari))
) {
fullScreenLogin = true;
}