mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-22 11:06:10 +10:00
Merge branch 'raise-on-forgery' into 'master'
Raise on forgery Fixes #1572 See merge request !1156
This commit is contained in:
@@ -13,7 +13,7 @@ class ApplicationController < ActionController::Base
|
||||
before_filter :configure_permitted_parameters, if: :devise_controller?
|
||||
before_filter :require_email, unless: :devise_controller?
|
||||
|
||||
protect_from_forgery
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
helper_method :abilities, :can?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user