From 853d14c1ce42fd2ef1cb921206656fe660d23214 Mon Sep 17 00:00:00 2001 From: Aine Date: Fri, 18 Oct 2024 10:21:48 +0300 Subject: [PATCH] fix 'Sign in' button disabled on SSO-only servers when attempting access token login --- src/pages/LoginPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/LoginPage.tsx b/src/pages/LoginPage.tsx index 7d2e8d3..7562f46 100644 --- a/src/pages/LoginPage.tsx +++ b/src/pages/LoginPage.tsx @@ -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")}