Merge pull request #3709 from denschub/feature/3472-session-remember

Make Devise remember the session for 2 weeks
This commit is contained in:
Jonne Haß 2012-11-06 13:59:01 -08:00
commit 051adfde45
2 changed files with 3 additions and 2 deletions

View file

@ -36,6 +36,7 @@
* Fix empty page after authenticating with other services. [#3693](https://github.com/diaspora/diaspora/pull/3693)
* Fix posting public posts to Facebook. [#2882](https://github.com/diaspora/diaspora/issues/2882), [#3650](https://github.com/diaspora/diaspora/issues/3650)
* Fix error with invite link box shows on search results page even if invites have been turned off. [#3708](https://github.com/diaspora/diaspora/pull/3708)
* Fix misconfiguration of Devise to allow the session to be remembered. [#3472](https://github.com/diaspora/diaspora/issues/3472)
# 0.0.1.2

View file

@ -77,7 +77,7 @@ Devise.setup do |config|
# ==> Configuration for :rememberable
# The time the user will be remembered without asking for credentials again.
# config.remember_for = 2.weeks
config.remember_for = 2.weeks
# ==> Configuration for :validatable
# Range for password length
@ -89,7 +89,7 @@ Devise.setup do |config|
# ==> Configuration for :timeoutable
# The time you want to timeout the user session without activity. After this
# time the user will be asked for credentials again.
config.timeout_in = 1.day
# config.timeout_in = 1.day
# ==> Configuration for :lockable
# Defines which strategy will be used to lock an account.