-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
rails_mvp_authentication/lib/generators/rails_mvp_authentication/templates/authentication.rb.tt
Line 38 in b2e0ebd
cookies.permanent.encrypted[:remember_token] = active_session.remember_token |
cookies.permanent.encrypted[:remember_token] = { value: active_session.remember_token, httponly: true }
Someone can use 'document.cookies' and stole your cookie if you don't use httponly.
Metadata
Metadata
Assignees
Labels
No labels