新增登录注册背景图设置

This commit is contained in:
mtvpls
2025-12-28 12:12:11 +08:00
parent d4ae874bc0
commit ab856a02cf
7 changed files with 317 additions and 36 deletions
+2
View File
@@ -47,6 +47,8 @@ export async function GET(request: NextRequest) {
EnableOIDCLogin: config.SiteConfig.EnableOIDCLogin || false,
EnableOIDCRegistration: config.SiteConfig.EnableOIDCRegistration || false,
OIDCButtonText: config.SiteConfig.OIDCButtonText || '',
loginBackgroundImage: config.ThemeConfig?.loginBackgroundImage || '',
registerBackgroundImage: config.ThemeConfig?.registerBackgroundImage || '',
};
return NextResponse.json(result);
}