1 files changed, 7 insertions, 2 deletions
diff --git a/src/routes/auth/register.ts b/src/routes/auth/register.ts
index 87ce3cc0..ce54b940 100644
--- a/src/routes/auth/register.ts
+++ b/src/routes/auth/register.ts
@@ -180,9 +180,14 @@ router.post(
verified: false,
email: adjusted_email,
flags: 0n, // TODO: generate default flags
- hash: adjusted_password,
guilds: [],
- valid_tokens_since: new Date(),
+ user_data: {
+ hash: adjusted_password,
+ valid_tokens_since: new Date(),
+ relationships: [],
+ connected_accounts: [],
+ fingerprints: [],
+ },
user_settings: {
afk_timeout: 300,
allow_accessibility_detection: true,
|