mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 14:32:46 +08:00
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:
parent
93b0ffc85c
commit
7252c14a16
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user