mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(auth): add username sign-in mode and recovery kits (#3215)
This commit is contained in:
1 parent
bf3d73a5f7
commit
e1eecc3b6c
355 files changed
+52138
-24097
No files matched your search
@@ -9,6 +9,10 @@ export const CACHE_PURGE_ADAPTER_NAMES = ['none', 'http'] as const;
|
||||
export type CachePurgeAdapterName = (typeof CACHE_PURGE_ADAPTER_NAMES)[number];
|
||||
export const STORE_PRODUCT_SLOT_NAMES = ['monthly', 'yearly', 'gift_1_month', 'gift_1_year'] as const;
|
||||
export type StoreProductSlotName = (typeof STORE_PRODUCT_SLOT_NAMES)[number];
|
||||
export const ACCOUNT_IDENTITY_MODE_NAMES = ['email', 'username'] as const;
|
||||
export type AccountIdentityModeName = (typeof ACCOUNT_IDENTITY_MODE_NAMES)[number];
|
||||
export const TAG_STYLE_NAMES = ['none', 'random'] as const;
|
||||
export type TagStyleName = (typeof TAG_STYLE_NAMES)[number];
|
||||
|
||||
export interface InstanceBrandingConfig {
|
||||
product_name: string;
|
||||
@@ -299,6 +303,8 @@ export interface MasterConfig {
|
||||
setup: {
|
||||
configured: boolean;
|
||||
};
|
||||
account_identity: AccountIdentityModeName | null;
|
||||
tag_style: TagStyleName | null;
|
||||
};
|
||||
dev: {
|
||||
relax_registration_rate_limits: boolean;
|
||||
|
||||
Reference in new issue
Block a user