(20250116) Fixed auth-token bug for mail controllers.
This commit is contained in:
@@ -258,8 +258,11 @@ async def mail_auth_callback(
|
||||
# For failed authorization:
|
||||
return await render_template(
|
||||
"/message/mail/oauth/oauth_failure_v2.html",
|
||||
mail_client = mail_client.title(),
|
||||
failure_hint = f"Unknown error. Please use log-id '{kwargs.get('log_id')}' to check with the support team."
|
||||
mail_client = mail_client,
|
||||
failure_hint = (
|
||||
f"{client_response.message} "
|
||||
f"Please use log-id '{kwargs.get('log_id')}' to check with the support team.".strip()
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user