Ability to disable signup

For those of us who are self-hosting, allowing signup after the initial organization(s) are created doesn’t make sense.

One solution would be to set an environment variable, e.g. LAGO_SIGNUP_DISABLED which would remove the ability to signup on both the front-end and graphql. Or maybe there’s already some feature flagging system that could be used instead.

We are willing to do the work if a PR would be accepted.

Initially posted here: [FEAT]: Ability to disable signup · Issue #47 · getlago/lago · GitHub