fix 'Sign in' button disabled on SSO-only servers when attempting access token login

This commit is contained in:
Aine 2024-10-18 10:21:48 +03:00
parent 11a5cac709
commit 853d14c1ce
No known key found for this signature in database
GPG key ID: 34969C908CCA2804

View file

@ -275,7 +275,7 @@ const LoginPage = () => {
variant="contained" variant="contained"
type="submit" type="submit"
color="primary" color="primary"
disabled={loading || !supportPassAuth} disabled={loading || !supportPassAuth && loginMethod !== "accessToken"}
fullWidth fullWidth
> >
{translate("ra.auth.sign_in")} {translate("ra.auth.sign_in")}