File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ const PasswordInputForm = ({
8585 forgotPasswordAction,
8686 loginAttempts,
8787 maxLoginFailedAttempts,
88- userIsActive
88+ userIsActive,
89+ helpAction
8990 } ) => {
9091 return (
9192 < form method = "post" action = { formAction } onSubmit = { onAuthenticate } target = "_self" >
@@ -148,7 +149,7 @@ const PasswordInputForm = ({
148149 return (
149150 < >
150151 < p className = { styles . error_label } >
151- Your account has been locked due to multiple failed login attempts. Please contact support to unlock it.
152+ Your account has been locked due to multiple failed login attempts. Please < a href = { helpAction } > contact support</ a > to unlock it.
152153 </ p >
153154 </ >
154155 ) ;
@@ -589,7 +590,7 @@ class LoginPage extends React.Component {
589590
590591 let error = '' ;
591592 if ( response . is_active === false ) {
592- error = ' Your user account is currently inactive . Please contact support for further assistance.' ;
593+ error = ` Your user account is currently locked . Please <a href=" ${ this . props . helpAction } "> contact support</a> for further assistance.` ;
593594 } else if ( response . is_active === true && response . is_verified === false ) {
594595 error = 'Your email has not been verified. Please check your inbox or resend the verification email.' ;
595596 }
@@ -820,6 +821,7 @@ class LoginPage extends React.Component {
820821 loginAttempts = { this . props ?. loginAttempts }
821822 maxLoginFailedAttempts = { this . props ?. maxLoginFailedAttempts }
822823 userIsActive = { this . props ?. user_is_active }
824+ helpAction = { this . props . helpAction }
823825 />
824826 < HelpLinks
825827 userName = { this . state . user_name }
You can’t perform that action at this time.
0 commit comments