mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2024-10-31 20:34:38 +01:00
don't show and request captcha if user is logged in
This commit is contained in:
parent
0dbb8fb6e3
commit
91d21f7f07
@ -36,13 +36,4 @@ class oeUserComponent extends oeUserComponent_parent
|
|||||||
|
|
||||||
return parent::createUser();
|
return parent::createUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function changeuser_testvalues()
|
|
||||||
{
|
|
||||||
if (!$this->getCaptcha()->passCaptcha()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return parent::changeuser_testvalues();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
|
[{if !$oxcmp_user}]
|
||||||
[{include file="oecaptcha_wave.tpl" labelCssClass="col-lg-3" inputCssClass="col-lg-5"}]
|
[{include file="oecaptcha_wave.tpl" labelCssClass="col-lg-3" inputCssClass="col-lg-5"}]
|
||||||
|
[{/if}]
|
||||||
|
Loading…
Reference in New Issue
Block a user