[Bug] Unable to access admin account when `GOTRUE_MAILER_AUTOCONFIRM` is false
DenuxPlays opened this issue · comments
Describe the bug
When I set GOTRUE_MAILER_AUTOCONFIRM
to false and change the admin e-mail the account is unusable.
You cannot login.
To Reproduce
Steps to reproduce the behavior:
- Change
GOTRUE_MAILER_AUTOCONFIRM
to false - Change
GOTRUE_ADMIN_EMAIL
to not a default one - Try to login
Expected behavior
The admin account should be enabled by default.
Screenshots
///
Desktop (please complete the following information):
- OS: Fedora 40
- Version 0.6.21
Additional context
///
@DenuxPlays This is expected behaviour. if you would like to change the admin email after initial deployment, you should delete the existing admin account, set GOTRUE_MAILER_AUTOCONFIRM
to true, restart the docker services. then set the GOTRUE_MAILER_AUTOCONFIRM
to false again to enforce mailer configuration.
Okay still seems pretty weird
Wouldn't it then be possible to send an email to the admin account if GOTRUE_MAILER_AUTOCONFIRM
is set to true? (At least that was what I kind of expected)
@DenuxPlays it should, but this will mean that there are 2 admin accounts, which may not be desired