N
Novu10mo ago
AhmedZana

Can i create accounts on disabled sign up ?

Dear novu team, I have a case where i don't want any user registration since my app is public. But i want to be able to invite my team members and create accounts for them, for now after I have DISABLE_USER_REGISTRATION=true environment variable i still can't create account even through invitation link. is there away to bypass that using invitation link or to create account for them without changing the env to false again ? Thanks in advance.
2 Replies
Pawan Jain
Pawan Jain10mo ago
Hi @AhmedZana This is one of limitation of self-hosting Currently, we allow this flag which will disable registration for all new users. The workaround for this is to have all users created before using this flag and restarting your server instance or to create new users manually in database(this approach is a bit hacky)
AhmedZana
AhmedZana10mo ago
Hope to see this in future, thanks @Pawan Jain