From 1106aee152b90f67719854041ab83b3e71fe06c6 Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Tue, 9 Mar 2021 13:46:02 +0800 Subject: [PATCH] FIX: Incorrect parameter when using omniauth providers on invites page. Follow-up to ce04db861033c906830fd07ae98b3d0cb375c753 --- .../javascripts/discourse/app/controllers/invites-show.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/controllers/invites-show.js b/app/assets/javascripts/discourse/app/controllers/invites-show.js index 3890643ee69..523aa47ca51 100644 --- a/app/assets/javascripts/discourse/app/controllers/invites-show.js +++ b/app/assets/javascripts/discourse/app/controllers/invites-show.js @@ -233,7 +233,9 @@ export default Controller.extend( externalLogin(provider) { provider.doLogin({ - origin: window.location.href, + params: { + origin: window.location.href, + }, }); }, },