diff --git a/frontend/src/component/user/PasswordAuth/PasswordAuth.jsx b/frontend/src/component/user/PasswordAuth/PasswordAuth.jsx index 21d5a9bdd8..1bcb8b6b5b 100644 --- a/frontend/src/component/user/PasswordAuth/PasswordAuth.jsx +++ b/frontend/src/component/user/PasswordAuth/PasswordAuth.jsx @@ -80,11 +80,8 @@ const PasswordAuth = ({ authDetails, passwordLogin, loadInitialData }) => {
- - {authDetails.message} - + {apiError} @@ -131,21 +128,24 @@ const PasswordAuth = ({ authDetails, passwordLogin, loadInitialData }) => { }; const renderWithOptions = options => ( -
+
{options.map(o => ( - - - +
))} + {' '} - onClick={onShowOptions} Show more options + Show more options } /> @@ -155,11 +155,17 @@ const PasswordAuth = ({ authDetails, passwordLogin, loadInitialData }) => { const { options = [] } = authDetails; return ( - + + {authDetails.message} + + 0} show={renderWithOptions(options)} elseShow={renderLoginForm()} /> + +
); };