pref: login/forgetpass texts (#2457)

* chore: fastgptfeconfig type

* pref: login, forget password, texts
This commit is contained in:
Finley Ge
2024-08-21 14:46:53 +08:00
committed by GitHub
parent 26d800981c
commit 649de7f028
6 changed files with 84 additions and 34 deletions

View File

@@ -24,7 +24,10 @@ export type FastGPTConfigFileType = {
export type FastGPTFeConfigsType = {
show_emptyChat?: boolean;
show_register?: boolean;
register_method?: ['email' | 'phone'];
login_method?: ['email' | 'phone']; // Attention: login method is diffrent with oauth
find_password_method?: ['email' | 'phone'];
bind_notification_method?: ['email' | 'phone'];
show_appStore?: boolean;
show_git?: boolean;
show_pay?: boolean;
@@ -43,8 +46,6 @@ export type FastGPTFeConfigsType = {
systemDescription?: string;
googleClientVerKey?: string;
isPlus?: boolean;
show_phoneLogin?: boolean;
show_emailLogin?: boolean;
sso?: {
icon?: string;
title?: string;