diff options
| -rw-r--r-- | routes/users.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/users.ts b/routes/users.ts index 1da397ca..e29c5256 100644 --- a/routes/users.ts +++ b/routes/users.ts @@ -130,7 +130,7 @@ export default { const ip = headers["cf-connecting-ip"]; if (!body.user) fail("no user object provided"); let { user } = body; - const fields = ["pubkey", "password", "username"]; + const fields = ["pubkey", "password", "username", "picture"]; user = await register(pick(user, fields), ip); |
