diff options
-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) { |