lib/quo_vadis/defaults.rb in quo_vadis-2.0.2 vs lib/quo_vadis/defaults.rb in quo_vadis-2.1.0
- old
+ new
@@ -1,10 +1,10 @@
require 'active_support/core_ext'
QuoVadis.configure do
password_minimum_length 12
mask_ips false
- cookie_name '__Host-qv'
+ cookie_name (Rails.env.production? ? '__Host-qv' : 'qv')
session_lifetime :session
session_lifetime_extend_to_end_of_day false
session_idle_timeout :lifetime
password_reset_token_lifetime 10.minutes
accounts_require_confirmation false