fix: link to the password reset page (#753)
When using two different deployment approaches, with one of them we get an incorrectly working link to the password reset page.
This commit is contained in:
@@ -29,7 +29,7 @@ const LoginFailureMessage = (props) => {
|
||||
const authService = getAuthService();
|
||||
let errorList;
|
||||
let resetLink = (
|
||||
<Hyperlink destination="/reset" isInline>
|
||||
<Hyperlink destination="reset" isInline>
|
||||
{intl.formatMessage(messages['login.incorrect.credentials.error.reset.link.text'])}
|
||||
</Hyperlink>
|
||||
);
|
||||
@@ -94,7 +94,7 @@ const LoginFailureMessage = (props) => {
|
||||
break;
|
||||
case FAILED_LOGIN_ATTEMPT: {
|
||||
resetLink = (
|
||||
<Hyperlink destination="/reset" isInline>
|
||||
<Hyperlink destination="reset" isInline>
|
||||
{intl.formatMessage(messages['login.incorrect.credentials.error.before.account.blocked.text'])}
|
||||
</Hyperlink>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user