From a0c41e2d5767aa325ce4a6e0b23feb43808329d2 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 7 Apr 2016 12:59:30 +0100 Subject: [PATCH] Fix password resetting Fixes https://github.com/vector-im/vector-web/issues/1349 --- src/components/structures/login/ForgotPassword.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/structures/login/ForgotPassword.js b/src/components/structures/login/ForgotPassword.js index c457ce1ead..feb4ee96b1 100644 --- a/src/components/structures/login/ForgotPassword.js +++ b/src/components/structures/login/ForgotPassword.js @@ -38,8 +38,8 @@ module.exports = React.createClass({ getInitialState: function() { return { - enteredHomeserverUrl: this.props.homeserverUrl, - enteredIdentityServerUrl: this.props.identityServerUrl, + enteredHomeserverUrl: this.props.customHsUrl || this.props.defaultHsUrl, + enteredIdentityServerUrl: this.props.customIsUrl || this.props.defaultIsUrl, progress: null }; },