From 5fdf228db6236b34863a1a12f2ef4935dc4d9f89 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Thu, 4 Jul 2019 09:06:29 +0100 Subject: [PATCH] FIX: Respect the full_screen_login parameter from plugin auth providers (#7855) This behavior was regressed in 427979e7e51bb9bc858eb6ad2456ce0075fdc643 --- app/assets/javascripts/discourse/models/login-method.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/models/login-method.js.es6 b/app/assets/javascripts/discourse/models/login-method.js.es6 index 244e75b6259..083559ade01 100644 --- a/app/assets/javascripts/discourse/models/login-method.js.es6 +++ b/app/assets/javascripts/discourse/models/login-method.js.es6 @@ -29,7 +29,7 @@ const LoginMethod = Ember.Object.extend({ authUrl += "?reconnect=true"; } - if (fullScreenLogin) { + if (fullScreenLogin || this.full_screen_login) { document.cookie = "fsl=true"; window.location = authUrl; } else {