mirror of https://github.com/vector-im/riot-web
Appease the linter
parent
afaaa6774e
commit
495513028c
|
@ -195,7 +195,10 @@ export const RecaptchaAuthEntry = createReactClass({
|
||||||
const CaptchaForm = sdk.getComponent("views.auth.CaptchaForm");
|
const CaptchaForm = sdk.getComponent("views.auth.CaptchaForm");
|
||||||
let sitePublicKey;
|
let sitePublicKey;
|
||||||
if (!this.props.stageParams || !this.props.stageParams.public_key) {
|
if (!this.props.stageParams || !this.props.stageParams.public_key) {
|
||||||
errorText = _t("Missing captcha public key in homeserver configuration. Please report this to your homeserver administrator.");
|
errorText = _t(
|
||||||
|
"Missing captcha public key in homeserver configuration. Please report " +
|
||||||
|
"this to your homeserver administrator.",
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
sitePublicKey = this.props.stageParams.public_key;
|
sitePublicKey = this.props.stageParams.public_key;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue