This commit is contained in:
syuilo 2018-11-06 06:25:35 +09:00
parent ac50bb9225
commit 06bb2a1c7c
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 3 additions and 9 deletions

View File

@ -106,18 +106,12 @@ export default async (ctx: Koa.Context) => {
host: null, host: null,
keypair: generateKeypair(), keypair: generateKeypair(),
token: secret, token: secret,
email: null,
password: hash, password: hash,
isAdmin: config.autoAdmin && usersCount === 0, isAdmin: config.autoAdmin && usersCount === 0,
profile: { profile: {
bio: null, bio: null,
birthday: null, birthday: null,
blood: null, location: null
gender: null,
handedness: null,
height: null,
location: null,
weight: null
}, },
settings: { settings: {
autoWatch: false autoWatch: false