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 <[email protected]>
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..!"

Reply via email to