Reject request with csrf attack
This commit is contained in:
parent
6f29e536d7
commit
ca7b1e3de2
|
@ -1,5 +1,5 @@
|
|||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
helper_method :format_time, :format_date
|
||||
|
||||
|
|
Loading…
Reference in New Issue