Skip to content

Commit

Permalink
Small fix (#2643)
Browse files Browse the repository at this point in the history
  • Loading branch information
bekliev authored and Trott committed Oct 9, 2019
1 parent 15ecf9e commit 435c456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locale/en/docs/guides/simple-profiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ app.get('/newUser', (req, res) => {

username = username.replace(/[!@#$%^&*]/g, '');

if (!username || !password || users.username) {
if (!username || !password || users[username]) {
return res.sendStatus(400);
}

Expand Down

0 comments on commit 435c456

Please sign in to comment.