diff options
author | RealMANI <96433859+ImAaronFR@users.noreply.github.com> | 2022-02-16 11:15:37 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 10:45:37 +0300 |
commit | 4eae64b91a296d49e8bb1bc833f2531301eb459a (patch) | |
tree | 18b88df484d22d9b6d2bee8e8cad397af10d581c /api/src | |
parent | Bump follow-redirects from 1.14.6 to 1.14.8 in /cdn (#635) (diff) | |
download | server-4eae64b91a296d49e8bb1bc833f2531301eb459a.tar.xz |
[Fix] Invisible space username (#639)
You can send only spaces to the server and have a invisible username, this way you can remove the spaces and check and if it wasn't null after you know it's not just spaces
Diffstat (limited to 'api/src')
-rw-r--r-- | api/src/routes/users/@me/index.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/api/src/routes/users/@me/index.ts b/api/src/routes/users/@me/index.ts |