summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-09-03 07:37:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-09-03 07:37:16 +0000
commitd744749d5ebfed695d7382a2f813d2ca884afc73 (patch)
tree8e0a2098aa0df6069580251b961cec895f5f747a /lib
parentfa2f5981509166ad98f3bbee7e710331aeb9a01e (diff)
downloadredmine-d744749d5ebfed695d7382a2f813d2ca884afc73.tar.gz
redmine-d744749d5ebfed695d7382a2f813d2ca884afc73.zip
Sudo-Mode refinements (#23587).
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@15813 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-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 d4f26608a..c85310091 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