feat: support login by given mail (#4991)

This commit is contained in:
Joel
2024-06-06 15:01:58 +08:00
committed by GitHub
parent da5f2e168a
commit efecdccf35
3 changed files with 9 additions and 4 deletions

View File

@@ -33,6 +33,8 @@ export const PUBLIC_API_PREFIX: string = publicApiPrefix
const EDITION = process.env.NEXT_PUBLIC_EDITION || globalThis.document?.body?.getAttribute('data-public-edition') || 'SELF_HOSTED'
export const IS_CE_EDITION = EDITION === 'SELF_HOSTED'
export const SUPPORT_MAIL_LOGIN = !!(process.env.NEXT_PUBLIC_SUPPORT_MAIL_LOGIN || globalThis.document?.body?.getAttribute('data-public-support-mail-login'))
export const TONE_LIST = [
{
id: 1,