Skip to content
Permalink
Browse files

FIX: Switch to full screen external login for Safari

This is a temporary solution, currently popup auth fails in Safari.
  • Loading branch information...
pmusaraj committed Sep 11, 2019
1 parent 93b0ffc commit 7252c14a1679be4d758f79ef73b8dc4563a7b470
Showing with 4 additions and 1 deletion.
  1. +4 −1 app/assets/javascripts/discourse/controllers/login.js.es6
@@ -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;
}

0 comments on commit 7252c14

Please sign in to comment.
You can’t perform that action at this time.