mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-30 10:21:57 +01:00
Do not save 名無し as the name of a new user
This commit is contained in:
parent
f0e8e6392b
commit
d99d628f50
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue