Forgot password, reset, but command output gives 400 error (hash issue). Can't log in, solution?

docker compose exec api python -c “import requests; response = requests.post('http://localhost:5001/console/api/login’, json={‘email’: ‘2132109465@qq.com’, ‘password’: ‘Dify123456’}); print(‘Status Code:’, response.status_code); print(‘Response:’, response.text\[:200\])”

Have you found a solution? My local deployment has the same issue. The password is encrypted, and using hash64 didn’t work either. I can’t recover it via email.

1. Reset Email

docker compose exec api flask reset-email

2. Reset Password

docker compose exec api flask reset-password
Just change the email to another email, and then change the password.