chore: update message

(cherry picked from commit 4e6581b0fc9006bdf3e869565ec59727556972c1)
This commit is contained in:
Akhil Narang 2024-09-05 14:44:04 +05:30 committed by Mergify
parent 733edd2ffd
commit 8c099ced74

View file

@ -194,7 +194,7 @@ def callback(code=None, state=None):
token_cache = frappe.get_doc("Token Cache", connected_app.name + "-" + frappe.session.user)
if state != token_cache.state:
frappe.throw(_("Invalid state! Check if token is created by the oath user."))
frappe.throw(_("Invalid token state! Check if the token has been created by the OAuth user."))
oauth_session = connected_app.get_oauth2_session(init=True)
query_params = connected_app.get_query_params()