typebot.io icon indicating copy to clipboard operation
typebot.io copied to clipboard

Docker - DISABLE_SIGNUP Ignored

Open bionemesis opened this issue 1 year ago • 3 comments

I have setup - DISABLE-SIGNUP=true under both viewer and builder environment variables within my docker-compose.yml. However, new signups are still permitted. I've even completely wiped my containers and volumes and started from scratch and there is no change. Is it possible that variable isn't supported via docker?

bionemesis avatar Jul 10 '22 19:07 bionemesis

That's odd 🤔

I just tried it out and it works as expected. Are you sure new signups are still permitted? You managed to create new accounts?

baptisteArno avatar Jul 12 '22 06:07 baptisteArno

Ah I see now, so it still generates the sign up email, but clicking on it just results in an error. I was expecting it to either disable the UI ability to create a new account or just not send an email. Should probably do one of those things, otherwise it's just generating email needlessly.

bionemesis avatar Jul 12 '22 12:07 bionemesis

Yeah I can add a check before sending the email, thank you for the suggestion 👍

baptisteArno avatar Jul 12 '22 14:07 baptisteArno