summaryrefslogtreecommitdiffstats
path: root/lib/redmine/sudo_mode.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-02 10:23:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-02 10:23:06 +0000
commit9fa491f9f0a7abb0331bd422e619186e4f86d302 (patch)
tree4001a215807ccdfa340680fa1e3c09e4e0732773 /lib/redmine/sudo_mode.rb
parent31825ff1ee663d1f9478d9587c89c903f4eac474 (diff)
downloadredmine-9fa491f9f0a7abb0331bd422e619186e4f86d302.tar.gz
redmine-9fa491f9f0a7abb0331bd422e619186e4f86d302.zip
Merged r15813 (#23587).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15878 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/sudo_mode.rb')
-rw-r--r--lib/redmine/sudo_mode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/sudo_mode.rb b/lib/redmine/sudo_mode.rb
index 3f2749cd5..a016c9821 100644
--- a/lib/redmine/sudo_mode.rb
+++ b/lib/redmine/sudo_mode.rb
@@ -90,7 +90,7 @@ module Redmine
return true if SudoMode.active?
if param_names.blank?
- param_names = params.keys - %w(id action controller sudo_password)
+ param_names = params.keys - %w(id action controller sudo_password _method authenticity_token utf8)
end
process_sudo_form