diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-04-08 23:39:19 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-04-09 20:47:59 +0200 |
commit | 69d92ecc7c7e5aeda44f9fb2a22906e25c6e5279 (patch) | |
tree | 5f26d348e029ad881a96f88926ab04ba2ecdbee4 | |
parent | 1040dbad987e280c61134c83194832224ff870b5 (diff) |
remove password from text form
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | application/views/file/upload_form.php | 2 | ||||
-rw-r--r-- | data/js/upload_form.js | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php index 04f7fd9f4..d22819708 100644 --- a/application/views/file/upload_form.php +++ b/application/views/file/upload_form.php @@ -13,8 +13,6 @@ document.write('\ <form action="javascript: do_paste()">\ <p>\ <textarea id="textarea" name="content" cols="80" rows="20"></textarea><br />\ - <div style="display: none">Email: <input type="text" name="email" size="20" /></div>\ - Optional password (for deletion and search): <input id="textarea_password" type="password" name="password" size="10" /><br />\ <input type="submit" value="Paste" name="process" />\ </p>\ </form>\ diff --git a/data/js/upload_form.js b/data/js/upload_form.js index 598d86465..cb8f072d9 100644 --- a/data/js/upload_form.js +++ b/data/js/upload_form.js @@ -52,7 +52,6 @@ function do_paste() { //Send the proper header information along with the request http.setRequestHeader("Content-type", "multipart/form-data; boundary=" + boundary); - http.setRequestHeader("Authorization", "Basic " + encode64(":" + document.getElementById("textarea_password").value)); http.onreadystatechange = function() { if(http.readyState == 4 && http.status == 200) { |