mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(guild): treat very high as high without phone verification (#3095)
This commit is contained in:
1 parent
d691047884
commit
2df82b2b5e
28 files changed
+289
-18
No files matched your search
@@ -100,6 +100,7 @@ const DEFAULT_INSTANCE_FEATURES: InstanceFeatures = {
|
||||
self_hosted: false,
|
||||
presigned_attachment_uploads: false,
|
||||
emails_enabled: false,
|
||||
phone_verification_enabled: true,
|
||||
};
|
||||
|
||||
export const DEFAULT_INSTANCE_REGISTRATION: InstanceRegistration = {
|
||||
@@ -516,6 +517,10 @@ 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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user