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 2021/06/08 11:16:43 UTC
[incubator-ponymail-foal] branch master updated: move up
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 68c0a3e move up
68c0a3e is described below
commit 68c0a3e11e01df641211d3569de429cd9532c696
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Jun 8 13:16:39 2021 +0200
move up
---
server/endpoints/oauth.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/endpoints/oauth.py b/server/endpoints/oauth.py
index 49eb5f2..dfda64d 100644
--- a/server/endpoints/oauth.py
+++ b/server/endpoints/oauth.py
@@ -31,13 +31,13 @@ async def process(
server: plugins.server.BaseServer, session: plugins.session.SessionObject, indata: dict,
) -> typing.Union[dict, aiohttp.web.Response]:
+ key = indata.get("key", "")
state = indata.get("state")
code = indata.get("code")
id_token = indata.get("id_token")
oauth_token = indata.get("oauth_token")
rv: typing.Optional[dict] = None
- key: str = indata.get("key", "")
# Google OAuth - currently fetches email address only
if key == "google" and id_token and server.config.oauth.google_client_id: