diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index b10de37983..42f0416628 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -18,7 +18,7 @@ def index cookies["_osm_totp_token"] = { :value => ROTP::TOTP.new(TOTP_KEY, :interval => 3600).now, :domain => ".openstreetmap.org", - :expires => 1.day.from_now + :expires => 1.hour.from_now } end end