Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1825 from matrix-org/luke/fix-forgot-password-page
Browse files Browse the repository at this point in the history
Fix broken ForgotPassword component
  • Loading branch information
dbkr authored Apr 6, 2018
2 parents 28bf76b + adb78c2 commit 5b8e752
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/structures/login/ForgotPassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -185,7 +186,7 @@ module.exports = React.createClass({
);
} else {
let serverConfigSection;
if (!config.disable_custom_urls) {
if (!SdkConfig.get().disable_custom_urls) {
serverConfigSection = (
<ServerConfig ref="serverConfig"
withToggleButton={true}
Expand Down

0 comments on commit 5b8e752

Please sign in to comment.