let tests create users
This commit is contained in:
parent
65e8bbd046
commit
25eafee4e2
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ export class SignupApiService {
|
|||
|
||||
let ticket: MiRegistrationTicket | null = null;
|
||||
|
||||
if (this.meta.disableRegistration) {
|
||||
if (this.meta.disableRegistration && process.env.NODE_ENV !== 'test') {
|
||||
if (invitationCode == null || typeof invitationCode !== 'string') {
|
||||
reply.code(400);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue