mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-25 00:55:32 +03:00
fix 'Sign in' button disabled on SSO-only servers when attempting access token login
This commit is contained in:
parent
11a5cac709
commit
853d14c1ce
1 changed files with 1 additions and 1 deletions
|
@ -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")}
|
||||||
|
|
Loading…
Reference in a new issue