fix: ignore invalid token so auth hooks can apply
The error will still be raised some 2-3 lines of execution later
This commit is contained in:
parent
da5b723939
commit
17ff6998da
1 changed files with 1 additions and 1 deletions
|
|
@ -647,7 +647,7 @@ def validate_auth_via_api_keys(authorization_header):
|
|||
frappe.InvalidAuthorizationToken,
|
||||
)
|
||||
except (AttributeError, TypeError, ValueError):
|
||||
raise frappe.AuthenticationError
|
||||
pass
|
||||
|
||||
|
||||
def validate_api_key_secret(api_key, api_secret, frappe_authorization_source=None):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue