From adb78c2931c4c8a3579a0f7b92362c6bc5a9d106 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Fri, 6 Apr 2018 10:27:03 +0100 Subject: [PATCH] Fix broken ForgotPassword component --- src/components/structures/login/ForgotPassword.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/structures/login/ForgotPassword.js b/src/components/structures/login/ForgotPassword.js index 53688ee6c3..ca50b9db6e 100644 --- a/src/components/structures/login/ForgotPassword.js +++ b/src/components/structures/login/ForgotPassword.js @@ -23,6 +23,7 @@ import { _t } from '../../../languageHandler'; import sdk from '../../../index'; import Modal from "../../../Modal"; import MatrixClientPeg from "../../../MatrixClientPeg"; +import SdkConfig from "../../../SdkConfig"; import PasswordReset from "../../../PasswordReset"; @@ -185,7 +186,7 @@ module.exports = React.createClass({ ); } else { let serverConfigSection; - if (!config.disable_custom_urls) { + if (!SdkConfig.get().disable_custom_urls) { serverConfigSection = (