Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Commit ebd7287

Browse files
author
Manuele Vaccari
committed
Prepare for symfony recipes ("symfony/security" not allowed)
1 parent dbb9f2b commit ebd7287

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"php": ">=5.6 || ^7.0",
1717
"google/recaptcha": "^1.1",
1818
"symfony/form": "^2.8 || ^3.0 || ^4.0",
19-
"symfony/security": "^2.8 || ^3.0 || ^4.0",
2019
"symfony/validator": "^2.8 || ^3.0 || ^4.0",
2120
"symfony/framework-bundle": "^2.8 || ^3.0 || ^4.0"
2221
},

src/Validator/Constraints/IsTrueValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function validate($value, Constraint $constraint)
109109

110110
// if we have an authorized role
111111
if ($this->authorizationChecker && $this->authorizationChecker->isGranted($this->trusted_roles)) {
112-
return true;
112+
return;
113113
}
114114

115115
// define variable for recaptcha check answer

0 commit comments

Comments
 (0)