Remove dot prefix from cookie domain
This commit is contained in:
parent
d83cc0f15b
commit
9a82ae069a
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class SiteController < ApplicationController
|
|||
if defined?(TOTP_KEY)
|
||||
cookies["_osm_totp_token"] = {
|
||||
:value => ROTP::TOTP.new(TOTP_KEY, :interval => 3600).now,
|
||||
:domain => ".openstreetmap.org",
|
||||
:domain => "openstreetmap.org",
|
||||
:expires => 1.hour.from_now
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue