Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
1708b6cd
Commit
1708b6cd
authored
Jan 23, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'password-reset-timeout' into 'master'
Password reset timeout /cc @jacobvosmaer See merge request !1428
parents
1d9e4274
31bf578d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG
CHANGELOG
+1
-1
config/initializers/devise.rb
config/initializers/devise.rb
+2
-1
No files found.
CHANGELOG
View file @
1708b6cd
...
@@ -37,7 +37,7 @@ v 7.8.0
...
@@ -37,7 +37,7 @@ v 7.8.0
-
-
-
-
-
-
-
-
Password reset token validity increased from 2 hours to 2 days since it is also send on account creation.
-
-
-
-
-
-
...
...
config/initializers/devise.rb
View file @
1708b6cd
...
@@ -145,7 +145,8 @@ Devise.setup do |config|
...
@@ -145,7 +145,8 @@ Devise.setup do |config|
# Time interval you can reset your password with a reset password key.
# Time interval you can reset your password with a reset password key.
# Don't put a too small interval or your users won't have the time to
# Don't put a too small interval or your users won't have the time to
# change their passwords.
# change their passwords.
config
.
reset_password_within
=
2
.
hours
# When someone else invites you to GitLab this time is also used so it should be pretty long.
config
.
reset_password_within
=
2
.
days
# ==> Configuration for :encryptable
# ==> Configuration for :encryptable
# Allow you to use another encryption algorithm besides bcrypt (default). You can use
# Allow you to use another encryption algorithm besides bcrypt (default). You can use
...
...
Write
Preview
Markdown
is supported
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