Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c1224ba

Browse files
author
Bjorn Van Acker
committed
Add explenation why we don't use the Symfony implementation estimateStrength
1 parent 321f8c2 commit c1224ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Security/PasswordStrengthService.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
namespace SumoCoders\FrameworkCoreBundle\Security;
44

5+
/**
6+
* This service can be used to estimate the strength of a password.
7+
* It's based on the private static method Symfony\Component\Validator\Constraints\PasswordStrengthValidator::estimateStrength.
8+
*/
59
class PasswordStrengthService
610
{
711
public const STRENGTH_VERY_WEAK = 0;

0 commit comments

Comments
 (0)