mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Respect the full_screen_login parameter from plugin auth providers (#7855)
This behavior was regressed in 427979e7e5
This commit is contained in:
@@ -29,7 +29,7 @@ const LoginMethod = Ember.Object.extend({
|
|||||||
authUrl += "?reconnect=true";
|
authUrl += "?reconnect=true";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fullScreenLogin) {
|
if (fullScreenLogin || this.full_screen_login) {
|
||||||
document.cookie = "fsl=true";
|
document.cookie = "fsl=true";
|
||||||
window.location = authUrl;
|
window.location = authUrl;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user