Lucky::ProtectFromForgery
Inherits Habitat::SettingsHelpers < Habitat::TempConfig
Protect from CSRF attacks
This module is automatically included in BrowserAction to protect from CSRF
attacks.
Constants
HABITAT_SETTINGS = [{decl: allow_forgery_protection : Bool = true, example: nil, validation: nil}] of Nil
PARAM_KEY = "_csrf"
SESSION_KEY = "X-CSRF-TOKEN"
Class methods
configure
Sourcesettings
SourceInstance methods
settings
Source