Add CSRF protection to management controllers
This commit is contained in:
@@ -4,6 +4,7 @@ class Management::SessionsController < ActionController::Base
|
||||
include GlobalizeFallbacks
|
||||
include AccessDeniedHandler
|
||||
default_form_builder ConsulFormBuilder
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
def create
|
||||
destroy_session
|
||||
|
||||
Reference in New Issue
Block a user