chore: update message
(cherry picked from commit 4e6581b0fc9006bdf3e869565ec59727556972c1)
This commit is contained in:
parent
733edd2ffd
commit
8c099ced74
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue