Преглед на файлове

Make login method post.

Avoids username and pw inadvertently being added to the URL if the submit event
handler for some reason fails (which shouldn't happen of course).
JC Brand преди 11 години
родител
ревизия
785919a019
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/templates/login_panel.html

+ 1 - 1
src/templates/login_panel.html

@@ -1,4 +1,4 @@
-<form id="converse-login">
+<form id="converse-login" method="post">
     <label>{{label_username}}</label>
     <input type="username" name="jid" placeholder="Username">
     <label>{{label_password}}</label>