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

Commit 0da187c

Browse files
committed
Fix broken ForgotPassword component
1 parent ef427ea commit 0da187c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/structures/login/ForgotPassword.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { _t } from '../../../languageHandler';
2323
import sdk from '../../../index';
2424
import Modal from "../../../Modal";
2525
import MatrixClientPeg from "../../../MatrixClientPeg";
26+
import SdkConfig from "../../../SdkConfig";
2627

2728
import PasswordReset from "../../../PasswordReset";
2829

@@ -185,7 +186,7 @@ module.exports = React.createClass({
185186
);
186187
} else {
187188
let serverConfigSection;
188-
if (!config.disable_custom_urls) {
189+
if (!SdkConfig.get().disable_custom_urls) {
189190
serverConfigSection = (
190191
<ServerConfig ref="serverConfig"
191192
withToggleButton={true}

0 commit comments

Comments
 (0)