Update src/components/views/auth/InteractiveAuthEntryComponents.js

Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Travis Ralston 2019-10-07 12:43:07 +01:00 committed by GitHub
parent 082ebe636e
commit e841bd5442
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -195,7 +195,7 @@ export const RecaptchaAuthEntry = createReactClass({
const CaptchaForm = sdk.getComponent("views.auth.CaptchaForm");
let sitePublicKey;
if (!this.props.stageParams || !this.props.stageParams.public_key) {
errorText = _t("Missing captcha public key - check your server configuration");
errorText = _t("Missing captcha public key in homeserver configuration. Please report this to your homeserver administrator.");
} else {
sitePublicKey = this.props.stageParams.public_key;
}