Repository navigation
Self-hosted Fizzy continues to allow signups, despite account existing #3152
|
I have installed self-hosted Fizzy via Once, as per README.md. It works great, except that it continues to allow signups, even though an account is already created. https://github.com/basecamp/fizzy/blob/main/docs/docker-deployment.md says
I have tried setting |
Replies: 2 comments
|
Signups probably are closed, it just doesn't look like it from the login page. The check is What can be confusing is how the login form treats an unknown email. In Two quick ways to confirm:
If you do still see the Sign up link or |
|
Hmm. I am now seeing the behavior you describe with In any case, thank you for the clear explanation, @TanbirRamim! |
Signups probably are closed, it just doesn't look like it from the login page. The check is
Account.accepting_signups?, which ismulti_tenant || Account.none?(app/models/account/multi_tenantable.rb), so with one account it is already false andMULTI_TENANT=falsechanges nothing.What can be confusing is how the login form treats an unknown email. In
SessionsController#create, if no identity exists and signups are closed, it callsredirect_to_fake_session_magic_link: you get the same "check your email" screen as a real user, but no identity is created and no email is sent. That's deliberate, so the form doesn't reveal which addresses have accounts.Two quick ways to confirm: