From 25e5577c90bfd9241a72889499f35747434276b3 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Mon, 23 Jan 2023 17:37:03 +0100 Subject: [PATCH] fix(ui) - login page SSO opacity and pointer-events issue in SAFARI --- frontend/app/components/Login/Login.js | 33 ++++++++++++++++---------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/frontend/app/components/Login/Login.js b/frontend/app/components/Login/Login.js index 9ce132f28..0eb10ec2b 100644 --- a/frontend/app/components/Login/Login.js +++ b/frontend/app/components/Login/Login.js @@ -14,6 +14,7 @@ const FORGOT_PASSWORD = forgotPassword(); const SIGNUP_ROUTE = signup(); const recaptchaRef = React.createRef(); +export default @connect( (state, props) => ({ errors: state.getIn(['user', 'loginRequest', 'errors']), @@ -25,7 +26,7 @@ const recaptchaRef = React.createRef(); ) @withPageTitle('Login - OpenReplay') @withRouter -export default class Login extends React.Component { +class Login extends React.Component { state = { email: '', password: '', @@ -157,25 +158,31 @@ export default class Login extends React.Component {
or
-
+ {authDetails.sso ? ( + + + + ) : ( This feature requires an enterprise license.
} placement="top" - // open={true} > - - - + {`Login with SSO ${ + authDetails.ssoProvider ? `(${authDetails.ssoProvider})` : '' + }`} + -
+ )}