refactor: simplify account standing and verification levels (#3130)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-02 18:17:41 +02:00
1 parent 1abde06824
commit 1ec8f31253
488 files changed
+10390 -47117

No files matched your search

@@ -100,7 +100,7 @@ const DEFAULT_INSTANCE_FEATURES: InstanceFeatures = {
self_hosted: false,
presigned_attachment_uploads: false,
emails_enabled: false,
phone_verification_enabled: true,
phone_verification_enabled: false,
};
export const DEFAULT_INSTANCE_REGISTRATION: InstanceRegistration = {
@@ -517,10 +517,6 @@ class RuntimeConfig {
return this.features.emails_enabled;
}
get phoneVerificationEnabled(): boolean {
return this.features.phone_verification_enabled;
}
get productName(): string {
return this.appPublic.branding.product_name.trim() || DEFAULT_APP_PUBLIC_CONFIG.branding.product_name;
}