mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-27 09:21:55 +02:00
Merge pull request #6503 from matrix-org/fix/grecaptcha-regression
Fix grecaptcha regression
This commit is contained in:
commit
f9f9aebef6
@ -103,8 +103,8 @@ export default class CaptchaForm extends React.Component<ICaptchaFormProps, ICap
|
|||||||
}
|
}
|
||||||
|
|
||||||
private resetRecaptcha() {
|
private resetRecaptcha() {
|
||||||
if (this.captchaWidgetId !== null) {
|
if (this.captchaWidgetId) {
|
||||||
global.grecaptcha.reset(this.captchaWidgetId);
|
global?.grecaptcha?.reset(this.captchaWidgetId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user