From d99d628f50eb62ca9d5ac56470e8e6f0ae8c3d2c Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Fri, 6 Apr 2018 01:37:24 +0900 Subject: [PATCH] =?UTF-8?q?Do=20not=20save=20=E5=90=8D=E7=84=A1=E3=81=97?= =?UTF-8?q?=20as=20the=20name=20of=20a=20new=20user?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/private/signup.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/api/private/signup.ts b/src/server/api/private/signup.ts index 4203ce526d..c54d6f1a1b 100644 --- a/src/server/api/private/signup.ts +++ b/src/server/api/private/signup.ts @@ -47,7 +47,6 @@ export default async (req: express.Request, res: express.Response) => { const username = req.body['username']; const password = req.body['password']; - const name = 'ๅ็„กใ—'; // Validate username if (!validateUsername(username)) { @@ -113,7 +112,7 @@ export default async (req: express.Request, res: express.Response) => { description: null, followersCount: 0, followingCount: 0, - name: name, + name: null, postsCount: 0, driveCapacity: 1024 * 1024 * 128, // 128MiB username: username,