summaryrefslogtreecommitdiffstats
path: root/app/views/sudo_mode
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 /app/views/sudo_mode
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 'app/views/sudo_mode')
-rw-r--r--app/views/sudo_mode/new.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/sudo_mode/new.html.erb b/app/views/sudo_mode/new.html.erb
index dee97162f..323a4556c 100644
--- a/app/views/sudo_mode/new.html.erb
+++ b/app/views/sudo_mode/new.html.erb
@@ -1,5 +1,5 @@
<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 %>