diff --git a/src/components/views/auth/ServerConfig.js b/src/components/views/auth/ServerConfig.js
index ed6b4bdf7dc..cb0e0dc38ec 100644
--- a/src/components/views/auth/ServerConfig.js
+++ b/src/components/views/auth/ServerConfig.js
@@ -90,15 +90,6 @@ export default class ServerConfig extends React.PureComponent {
this.setState({ hsUrl });
}
- onHomeserverValidate = (value) => {
- try {
- new URL(value);
- return { valid: true, feedback:
Valid URL!
};
- } catch (_) {
- return { valid: false, feedback: Invalid URL!
};
- }
- }
-
onIdentityServerBlur = (ev) => {
this._isTimeoutId = this._waitThenInvoke(this._isTimeoutId, () => {
this.props.onServerConfigChange({
@@ -143,7 +134,6 @@ export default class ServerConfig extends React.PureComponent {
value={this.state.hsUrl}
onBlur={this.onHomeserverBlur}
onChange={this.onHomeserverChange}
- onValidate={this.onHomeserverValidate}
/>