mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
fixes #753 by adding a global option to enable secure cookies
you need to recreate your environment.rb from the tmpl for this change
This commit is contained in:
parent
a4cb8fb113
commit
2a6b8f1cd9
6 changed files with 15 additions and 13 deletions
|
|
@ -93,6 +93,8 @@ if (AUTHENTICATION_SCHEMES.include? 'open_id')
|
|||
#requires ruby-openid gem to be installed
|
||||
end
|
||||
|
||||
# setting this to true will make the cookies only available over HTTPS
|
||||
TRACKS_COOKIES_SECURE = false
|
||||
|
||||
MOBILE_CONTENT_TYPE = 'tracks/mobile'
|
||||
Mime::Type.register(MOBILE_CONTENT_TYPE, :m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue