Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15813
e93f8b46-1217-0410-a6f0-
8f06a7374b81
<h2><%= l :label_password_required %></h2>
-<%= form_tag({}, class: 'tabular', id: 'sudo-form') do %>
+<%= form_tag({}, method: :post, class: 'tabular', id: 'sudo-form') do %>
<%= hidden_field_tag '_method', request.request_method %>
<%= hash_to_hidden_fields @sudo_form.original_fields %>
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