Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
birger
users
Commits
e6f9a975
Commit
e6f9a975
authored
Aug 18, 2018
by
o@immerda.ch
Browse files
reduce password policy a tad
parent
f6c8d95c
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/controllers/application_controller.rb
View file @
e6f9a975
...
...
@@ -61,7 +61,7 @@ class ApplicationController < ActionController::Base
end
def
password_policy?
(
pw
)
if
pw
.
length
<
10
if
pw
.
length
<
9
flash
[
:notice
]
=
:password_too_short
return
false
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment