mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 04:26:30 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
bc523616ae
commit
98663d4c59
@ -101,7 +101,7 @@ class ForgotPasswordCheckApi(Resource):
|
|||||||
if not isinstance(token_email, str):
|
if not isinstance(token_email, str):
|
||||||
raise InvalidEmailError()
|
raise InvalidEmailError()
|
||||||
normalized_token_email = token_email.lower()
|
normalized_token_email = token_email.lower()
|
||||||
|
|
||||||
if user_email != normalized_token_email:
|
if user_email != normalized_token_email:
|
||||||
raise InvalidEmailError()
|
raise InvalidEmailError()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user