fix: don't allow bypassing ALLOW_REGISTRATION_WITHOUT_INVITE
behaviour
#4454
+155
−26
ALLOW_REGISTRATION_WITHOUT_INVITE
behaviour
#4454