From 435c45612a8d6ae0f07d0dc18670687998e85f72 Mon Sep 17 00:00:00 2001 From: Parviz/Ibragim Bekliev Date: Wed, 9 Oct 2019 07:48:55 +0300 Subject: [PATCH] Small fix (#2643) --- locale/en/docs/guides/simple-profiling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/en/docs/guides/simple-profiling.md b/locale/en/docs/guides/simple-profiling.md index 1ad68f321101..16f4e5e1b56e 100644 --- a/locale/en/docs/guides/simple-profiling.md +++ b/locale/en/docs/guides/simple-profiling.md @@ -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); }