Compare commits

..

1 Commits

Author SHA1 Message Date
f0bebe781c feat(altcha): add altcha validation layer to login
Some checks reported warnings
Cadoles/hydra-sql/pipeline/pr-develop This commit was not built
2025-04-10 13:57:50 +02:00

View File

@ -15,7 +15,7 @@ class FlagAccessor
public function isFlagEnabled(FlagEnum $flagName, bool $fallbackValue = false): bool public function isFlagEnabled(FlagEnum $flagName, bool $fallbackValue = false): bool
{ {
$flagValue = $this->cache->getItem($flagName->value); $flagValue = $this->cache->getItem($flagName->value)->get();
if (null === $flagValue) { if (null === $flagValue) {
return $fallbackValue; return $fallbackValue;