Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
password_policy
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
password_policy
Merge requests
!78
Issue 2451159: Add a constraint to validate the password (based on patch
#30
).
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue 2451159: Add a constraint to validate the password (based on patch
#30
).
issue/password_policy-2451159:2451159-password-policy-contraint
into
4.0.x
Overview
3
Commits
13
Pipelines
13
Changes
5
3 unresolved threads
Hide all comments
Open
Trent Crawford
requested to merge
issue/password_policy-2451159:2451159-password-policy-contraint
into
4.0.x
1 year ago
Overview
3
Commits
13
Pipelines
13
Changes
5
3 unresolved threads
Hide all comments
Expand
Closes
#2451159
0
0
Merge request reports
Compare
4.0.x
version 12
e3cddbfa
1 year ago
version 11
1ae65125
1 year ago
version 10
c61e0321
1 year ago
version 9
348bf1c8
1 year ago
version 8
e34e1139
1 year ago
version 7
f3143da1
1 year ago
version 6
f7a1ffb0
1 year ago
version 5
d90758a4
1 year ago
version 4
c557748a
1 year ago
version 3
f5cd8735
1 year ago
version 2
7e477d69
1 year ago
version 1
20123636
1 year ago
4.0.x (HEAD)
and
latest version
latest version
08e99852
13 commits,
1 year ago
version 12
e3cddbfa
12 commits,
1 year ago
version 11
1ae65125
11 commits,
1 year ago
version 10
c61e0321
10 commits,
1 year ago
version 9
348bf1c8
9 commits,
1 year ago
version 8
e34e1139
8 commits,
1 year ago
version 7
f3143da1
7 commits,
1 year ago
version 6
f7a1ffb0
6 commits,
1 year ago
version 5
d90758a4
5 commits,
1 year ago
version 4
c557748a
4 commits,
1 year ago
version 3
f5cd8735
3 commits,
1 year ago
version 2
7e477d69
2 commits,
1 year ago
version 1
20123636
1 commit,
1 year ago
5 files
+
341
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
src/Plugin/Validation/Constraint/PasswordPolicyConstraint.php
0 → 100644
+
24
−
0
Options
<?php
namespace
Drupal\password_policy\Plugin\Validation\Constraint
;
use
Symfony\Component\Validator\Constraint
;
/**
* Provides password policy constraint.
*
* @Constraint(
* id = "PasswordPolicy",
* label = @Translation("Password policy", context = "Validation"),
* )
*/
class
PasswordPolicyConstraint
extends
Constraint
{
/**
* The message template.
*
* @var string
*/
public
$messageTemplate
=
'%policy'
;
}
Loading