moved the UserPassword validator from the security bundle to the security component to make it reusable outside the full-stack framework
This commit is contained in:
parent
ea8ccf65ce
commit
0995b1f28b
|
@ -40,7 +40,7 @@
|
|||
|
||||
<parameter key="security.http_utils.class">Symfony\Component\Security\Http\HttpUtils</parameter>
|
||||
|
||||
<parameter key="security.validator.user_password.class">Symfony\Bundle\SecurityBundle\Validator\Constraint\UserPasswordValidator</parameter>
|
||||
<parameter key="security.validator.user_password.class">Symfony\Component\Security\Core\Validator\Constraint\UserPasswordValidator</parameter>
|
||||
</parameters>
|
||||
|
||||
<services>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Bundle\SecurityBundle\Validator\Constraint;
|
||||
namespace Symfony\Component\Security\Core\Validator\Constraint;
|
||||
|
||||
use Symfony\Component\Validator\Constraint;
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Bundle\SecurityBundle\Validator\Constraint;
|
||||
namespace Symfony\Component\Security\Core\Validator\Constraint;
|
||||
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
use Symfony\Component\Security\Core\SecurityContextInterface;
|
|
@ -24,6 +24,7 @@
|
|||
"require-dev": {
|
||||
"symfony/form": "2.1.*",
|
||||
"symfony/routing": "2.1.*",
|
||||
"symfony/validator": "2.1.*",
|
||||
"doctrine/common": ">=2.2,<2.4-dev",
|
||||
"doctrine/dbal": ">=2.2,<2.4-dev"
|
||||
},
|
||||
|
@ -31,6 +32,7 @@
|
|||
"symfony/class-loader": "self.version",
|
||||
"symfony/finder": "self.version",
|
||||
"symfony/form": "self.version",
|
||||
"symfony/validator": "self.version",
|
||||
"symfony/routing": "self.version",
|
||||
"doctrine/dbal": "to use the built-in ACL implementation"
|
||||
},
|
||||
|
|
Reference in New Issue