undb-io / undb

🚀 Private first self-hosted no code database & BaaS.
https://undb.io
GNU Affero General Public License v3.0
2.19k stars 96 forks source link

🐛 [BUG] - UNDB_DISABLE_REGISTRATION breaks invites #2132

Closed MerlinB closed 1 week ago

MerlinB commented 2 weeks ago

Description

Not sure if this is intended but when registration is disabled using UNDB_DISABLE_REGISTRATION, it is still possible to send out invites but as sign up is disabled, invited user cannot accept the invite and complete the signup. It would be very useful to be able to just disable public registration but allow signup via invites.

Reproduction URL

No response

Reproduction steps

1. Enable `UNDB_DISABLE_REGISTRATION`
2. Invite user
3. User goes to invite link - blank page

Screenshots

No response

Logs

No response

Browsers

No response

nichenqin commented 1 week ago

fixed