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
Commits
dac71b8c
Commit
dac71b8c
authored
1 year ago
by
bwaindwain
Committed by
Kristen Pol
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3351119
by bwaindwain, Kristen Pol, rajneeshb: Delay warning message has extra spaces
parent
1e6ca5d6
No related branches found
No related tags found
No related merge requests found
Pipeline
#101922
passed with warnings
1 year ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
password_policy_delay/src/Plugin/PasswordConstraint/PasswordDelay.php
+1
-2
1 addition, 2 deletions
...icy_delay/src/Plugin/PasswordConstraint/PasswordDelay.php
with
1 addition
and
2 deletions
password_policy_delay/src/Plugin/PasswordConstraint/PasswordDelay.php
+
1
−
2
View file @
dac71b8c
...
...
@@ -106,8 +106,7 @@ class PasswordDelay extends PasswordConstraintBase implements ContainerFactoryPl
$ok_pw_reset_time
=
$timestamp
+
$delay
;
if
(
$ok_pw_reset_time
>
$now_stamp
)
{
$validation
->
setErrorMessage
(
$this
->
t
(
'Not enough time has passed
since this password was last reset.'
));
$validation
->
setErrorMessage
(
$this
->
t
(
'Not enough time has passed since this password was last reset.'
));
}
}
return
$validation
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment