mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-21 23:35:22 +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"
|
||||
type="submit"
|
||||
color="primary"
|
||||
disabled={loading || !supportPassAuth}
|
||||
disabled={loading || !supportPassAuth && loginMethod !== "accessToken"}
|
||||
fullWidth
|
||||
>
|
||||
{translate("ra.auth.sign_in")}
|
||||
|
|
Loading…
Reference in a new issue