(20250123)
This commit is contained in:
@@ -277,13 +277,14 @@ class GmailController(MailController):
|
|||||||
response.action = "authorized"
|
response.action = "authorized"
|
||||||
response.message = "The user has given authorization."
|
response.message = "The user has given authorization."
|
||||||
|
|
||||||
pass
|
|
||||||
# We fetch the auth-token associated with this authorization loop:
|
# We fetch the auth-token associated with this authorization loop:
|
||||||
auth_token = await self.get_token_from_key(
|
auth_token = await self.get_token_from_key(
|
||||||
mongo_data_conn = mongo_data_conn,
|
mongo_data_conn = mongo_data_conn,
|
||||||
token_key = inbound_data["state"]
|
token_key = inbound_data["state"],
|
||||||
|
must_be_active = False
|
||||||
)
|
)
|
||||||
if not auth_token:
|
if not auth_token:
|
||||||
|
response.action = "unknown"
|
||||||
response.message = "Failed to load the auth-token for this flow."
|
response.message = "Failed to load the auth-token for this flow."
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user