Skip to content

Commit 789218d

Browse files
committed
Add user friendly handling of websignup failure and success
1 parent c10f714 commit 789218d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Controllers/Http/UserController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class UserController {
9191
if (Env.get('IS_REGISTRATION_ENABLED') == 'false') {
9292
// eslint-disable-line eqeqeq
9393
return response.status(401).send(
94-
'Registration is disabled on this server'
94+
'Registration is disabled on this server',
9595
);
9696
}
9797

@@ -126,7 +126,7 @@ class UserController {
126126
});
127127
} catch (e) {
128128
return response.status(401).send(
129-
'E-Mail Address already in use'
129+
'E-Mail Address already in use',
130130
);
131131
}
132132

0 commit comments

Comments
 (0)