miroir de
https://git.d3data.de/3rdParty/captcha-module.git
synchronisé 2024-11-24 07:23:11 +01:00
don't show and request captcha if user is logged in
Cette révision appartient à :
Parent
4e038ef885
révision
3d0025cbc9
@ -36,13 +36,4 @@ class oeUserComponent extends oeUserComponent_parent
|
||||
|
||||
return parent::createUser();
|
||||
}
|
||||
|
||||
public function changeuser_testvalues()
|
||||
{
|
||||
if (!$this->getCaptcha()->passCaptcha()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::changeuser_testvalues();
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
[{$smarty.block.parent}]
|
||||
|
||||
[{include file="oecaptcha_wave.tpl" labelCssClass="col-lg-3" inputCssClass="col-lg-5"}]
|
||||
[{if !$oxcmp_user}]
|
||||
[{include file="oecaptcha_wave.tpl" labelCssClass="col-lg-3" inputCssClass="col-lg-5"}]
|
||||
[{/if}]
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user