This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 667f270a343b44a3c4efc67af5bb822e8051eb47 Author: Sebb <[email protected]> AuthorDate: Thu Nov 18 00:05:42 2021 +0000 Don't assume /api --- webui/js/oauth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/js/oauth.js b/webui/js/oauth.js index 584e95f..f561225 100644 --- a/webui/js/oauth.js +++ b/webui/js/oauth.js @@ -134,7 +134,7 @@ function oauthWelcome(args) { } if (key && key.length > 0 && pm_config.oauth[key]) { document.getElementById('oauthtypes').innerHTML = "Logging you in, hang on..!" - GetAsync("/api/oauth.lua?" + args + "&oauth_token=" + pm_config.oauth[key].oauth_url, {}, parseOauthResponse) + GetAsync(apiURL + "api/oauth.lua?" + args + "&oauth_token=" + pm_config.oauth[key].oauth_url, {}, parseOauthResponse) } else { alert("Key missing or invalid! " + key) }
