Skip to content
Permalink
Browse files

moved the UserPassword validator from the security bundle to the secu…

…rity component to make it reusable outside the full-stack framework
  • Loading branch information...
fabpot committed Jun 10, 2012
1 parent ea8ccf6 commit 0995b1f28b80f91cfef7b3201840aa3dbcc66ae1
@@ -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,13 +24,15 @@
"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"
},
"suggest": {
"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"
},

1 comment on commit 0995b1f

@stof

This comment has been minimized.

Copy link
Member

commented on 0995b1f Jun 10, 2012

you need to update the changelog files to add the new constraint for the component and remove it for the bundle

Please sign in to comment.
You can’t perform that action at this time.