aboutsummaryrefslogtreecommitdiff
path: root/src/db/models/user.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/models/user.rs')
-rw-r--r--src/db/models/user.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/models/user.rs b/src/db/models/user.rs
index bf7dad32..d87defd0 100644
--- a/src/db/models/user.rs
+++ b/src/db/models/user.rs
@@ -246,6 +246,7 @@ impl User {
"Email": self.email,
"EmailVerified": !CONFIG.mail_enabled() || self.verified_at.is_some(),
"Premium": true,
+ "PremiumFromOrganization": false,
"MasterPasswordHint": self.password_hint,
"Culture": "en-US",
"TwoFactorEnabled": twofactor_enabled,
@@ -257,6 +258,7 @@ impl User {
"ProviderOrganizations": [],
"ForcePasswordReset": false,
"AvatarColor": self.avatar_color,
+ "UsesKeyConnector": false,
"Object": "profile",
})
}