mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 17:58:38 +00:00
refactor: Update OIDC status check to use oidc_enabled flag
This commit is contained in:
@@ -263,7 +263,7 @@ const RegisterForm = () => {
|
||||
</Text>
|
||||
</div>
|
||||
{status.github_oauth ||
|
||||
status.oidc ||
|
||||
status.oidc_enabled ||
|
||||
status.wechat_login ||
|
||||
status.telegram_oauth ||
|
||||
status.linuxdo_oauth ? (
|
||||
@@ -289,7 +289,7 @@ const RegisterForm = () => {
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
{status.oidc ? (
|
||||
{status.oidc_enabled ? (
|
||||
<Button
|
||||
type='primary'
|
||||
icon={<OIDCIcon />}
|
||||
|
||||
Reference in New Issue
Block a user