Appease the linter
This commit is contained in:
parent
afaaa6774e
commit
495513028c
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue