Version 1.1.3 Password reset is ineffective.
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.1.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
After resetting the password via email, logging in again still results in an "incorrect password" error. Upon checking the database, it was found that the password had not changed.
✔️ Expected Behavior
The new password works.
❌ Actual Behavior
Password reset is ineffective.
The password reset issue in Dify version 1.1.3 when using the self-hosted Docker setup might be due to incorrect configuration of the Mail parameters in the .env file. This configuration is crucial for receiving reset password emails. Ensure that these parameters are correctly set and verify the functionality of the email service. After making any changes, restart the service with the following commands:
docker compose down
docker compose up -d
If the problem persists, you can manually reset the password using this Docker command:
docker exec -it docker-api-1 flask reset-password
This command allows you to directly reset the password by entering the email address and new password. For more detailed instructions on configuring the Mail parameters, refer to the environment variable documentation [1][2][3].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
this is dify bug. Reference figure above to repair