mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Fix captcha client validation after request new code (#5112)
This commit is contained in:
parent
ae876a1f38
commit
b16b66ac62
@ -5,6 +5,7 @@ HumHub Changelog
|
|||||||
----------------------
|
----------------------
|
||||||
- Fix #29: Fix login form view on browser back button after footer link
|
- Fix #29: Fix login form view on browser back button after footer link
|
||||||
- Fix #5066: Fix pin and archive global content without container
|
- 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)
|
1.8.2 (April 26, 2021)
|
||||||
|
@ -87,7 +87,7 @@ $this->pageTitle = Yii::t('UserModule.auth', 'Login');
|
|||||||
<div><?= Yii::t('UserModule.auth', 'Please enter the letters from the image.'); ?></div>
|
<div><?= Yii::t('UserModule.auth', 'Please enter the letters from the image.'); ?></div>
|
||||||
|
|
||||||
<?= $form->field($invite, 'captcha')->widget(Captcha::class, [
|
<?= $form->field($invite, 'captcha')->widget(Captcha::class, [
|
||||||
'captchaAction' => 'auth/captcha',
|
'captchaAction' => '/user/auth/captcha',
|
||||||
])->label(false); ?>
|
])->label(false); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -92,7 +92,7 @@ use humhub\modules\user\widgets\AuthChoice;
|
|||||||
<?php if ($invite->showCaptureInRegisterForm()) : ?>
|
<?php if ($invite->showCaptureInRegisterForm()) : ?>
|
||||||
<div><?= Yii::t('UserModule.auth', 'Please enter the letters from the image.'); ?></div>
|
<div><?= Yii::t('UserModule.auth', 'Please enter the letters from the image.'); ?></div>
|
||||||
<?= $form->field($invite, 'captcha')->widget(Captcha::class, [
|
<?= $form->field($invite, 'captcha')->widget(Captcha::class, [
|
||||||
'captchaAction' => 'auth/captcha',
|
'captchaAction' => '/user/auth/captcha',
|
||||||
])->label(false); ?>
|
])->label(false); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<hr>
|
<hr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user