oidc登录按钮支持自定义文字

This commit is contained in:
mtvpls
2025-12-13 17:36:57 +08:00
parent 822bb4a07e
commit d467c5067b
6 changed files with 34 additions and 3 deletions
+1
View File
@@ -43,6 +43,7 @@ export async function GET(request: NextRequest) {
TurnstileSiteKey: config.SiteConfig.TurnstileSiteKey || '',
EnableOIDCLogin: config.SiteConfig.EnableOIDCLogin || false,
EnableOIDCRegistration: config.SiteConfig.EnableOIDCRegistration || false,
OIDCButtonText: config.SiteConfig.OIDCButtonText || '',
};
return NextResponse.json(result);
}