Fix captcha client validation after request new code (#5112)

This commit is contained in:
Yuriy Bakhtin 2021-06-09 11:49:59 +03:00 committed by GitHub
parent ae876a1f38
commit b16b66ac62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ HumHub Changelog
----------------------
- Fix #29: Fix login form view on browser back button after footer link
- Fix #5066: Fix pin and archive global content without container
- Fix #5107: Fix captcha client validation after request new code
1.8.2 (April 26, 2021)

View File

@ -87,7 +87,7 @@ $this->pageTitle = Yii::t('UserModule.auth', 'Login');
<div><?= Yii::t('UserModule.auth', 'Please enter the letters from the image.'); ?></div>
<?= $form->field($invite, 'captcha')->widget(Captcha::class, [
'captchaAction' => 'auth/captcha',
'captchaAction' => '/user/auth/captcha',
])->label(false); ?>
</div>
<?php endif; ?>

View File

@ -92,7 +92,7 @@ use humhub\modules\user\widgets\AuthChoice;
<?php if ($invite->showCaptureInRegisterForm()) : ?>
<div><?= Yii::t('UserModule.auth', 'Please enter the letters from the image.'); ?></div>
<?= $form->field($invite, 'captcha')->widget(Captcha::class, [
'captchaAction' => 'auth/captcha',
'captchaAction' => '/user/auth/captcha',
])->label(false); ?>
<?php endif; ?>
<hr>