alllow registere users

This commit is contained in:
O K
2026-05-30 10:35:43 +03:00
parent 961c1ed53d
commit 4c331e6286

View File

@@ -49,6 +49,11 @@ class BotLimiter extends Module
if (!empty((new Cookie('psAdmin'))->id_employee)) {
return; // Don't display the tag for logged-in administrators
}
// skip logged in user
if (isset($this->context->customer->id) && $this->context->customer->id > 0) {
return; // Don't display the tag for logged-in customers
}
// 1. Skip if we are currently ON the verification page to avoid loops
if ($this->context->controller instanceof BotLimiterVerifyModuleFrontController) {
return;