diff --git a/web/src/components/LoginForm.js b/web/src/components/LoginForm.js index d204fb47..d0183d7a 100644 --- a/web/src/components/LoginForm.js +++ b/web/src/components/LoginForm.js @@ -230,7 +230,7 @@ const LoginForm = () => { {status.github_oauth || - status.oidc || + status.oidc_enabled || status.wechat_login || status.telegram_oauth || status.linuxdo_oauth ? ( @@ -256,7 +256,7 @@ const LoginForm = () => { ) : ( <> )} - {status.oidc ? ( + {status.oidc_enabled ? ( diff --git a/web/src/components/RegisterForm.js b/web/src/components/RegisterForm.js index 29f1f471..6e79d32d 100644 --- a/web/src/components/RegisterForm.js +++ b/web/src/components/RegisterForm.js @@ -263,7 +263,7 @@ const RegisterForm = () => { {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 ? (