From 23c46e84af2e37d011648c77abcffc64a11cf1f8 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Thu, 23 Jun 2022 12:25:27 +0100 Subject: Workaroud for in-app Password Recovery (#342) * Change funtion name [skip ci] * Workaround #312 --- src/components/auth/Login.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/components/auth/Login.js') diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js index 74b9fef47..3de576ca6 100644 --- a/src/components/auth/Login.js +++ b/src/components/auth/Login.js @@ -6,6 +6,7 @@ import { defineMessages, injectIntl } from 'react-intl'; import { LIVE_FRANZ_API } from '../../config'; import { API_VERSION } from '../../environment-remote'; +import { serverBase } from '../../api/apiBase'; // TODO: Remove this line after fixing password recovery in-app import Form from '../../lib/Form'; import { required, email } from '../../helpers/validation-helpers'; import Input from '../ui/Input'; @@ -69,7 +70,7 @@ class Login extends Component { isTokenExpired: PropTypes.bool.isRequired, isServerLogout: PropTypes.bool.isRequired, signupRoute: PropTypes.string.isRequired, - passwordRoute: PropTypes.string.isRequired, + // passwordRoute: PropTypes.string.isRequired, // TODO: Uncomment this line after fixing password recovery in-app error: globalErrorPropType.isRequired, }; @@ -111,7 +112,7 @@ class Login extends Component { isTokenExpired, isServerLogout, signupRoute, - passwordRoute, + // passwordRoute, // TODO: Uncomment this line after fixing password recovery in-app error, } = this.props; @@ -177,7 +178,11 @@ class Login extends Component { {intl.formatMessage(messages.signupLink)} - + {intl.formatMessage(messages.passwordLink)} -- cgit v1.2.3-54-g00ecf