[Bug] Unable to change gotrue admin password over ui
DenuxPlays opened this issue · 1 comments
Describe the bug
When you change your admin password then the app will crash on the next restart.
To Reproduce
Steps to reproduce the behavior:
- create a new instance
- change the admin password over the ui
- restart the app
- take a look at the logs
Expected behavior
No panic.
Just load with the new password.
Screenshots
/
Desktop (please complete the following information):
- OS: Fedora 39 (OS that docker is running)
- Browser: all
- Version: latest
Additional context
Normal docker compose envoirement.
This might be a little tricky to implement. The reason is, AppFlowy Cloud does not know the password for gotrue admin user unless it is passed as an environmental variable. The database schema that stores the password, is accessible by gotrue and not by AppFlowy Cloud.
AppFlowy Cloud requires the Gotrue admin credentials, in order to manage operations such as inviting workspace member. So as of now, if the password for gotrue admin is modified via admin UI, the corresponding environmental variable needs to be modified to on the AppFlowy Cloud deployment.