You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/08 19:40:47 UTC

[incubator-ponymail-foal] branch master updated: need to let oauth know it's google now

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 70343e8  need to let oauth know it's google now
70343e8 is described below

commit 70343e8fa9458c391afbb7ed031446da4840e172
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Sep 8 21:40:35 2020 +0200

    need to let oauth know it's google now
---
 webui/js/oauth.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/webui/js/oauth.js b/webui/js/oauth.js
index 79b8a78..05fb668 100644
--- a/webui/js/oauth.js
+++ b/webui/js/oauth.js
@@ -126,6 +126,7 @@ function oauthWelcome(args) {
         }
         if (args.match(/id_token=/)) {
             key = 'google'
+            args += "&key=google";
         }
         if (key && key.length > 0 && pm_config.oauth[key]) {
             document.getElementById('oauthtypes').innerHTML = "Logging you in, hang on..!"