mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-11 10:46:22 +00:00
Change Input field to password type
Change the input box for UPLOAD_CODE from type 'text' to type 'password' to hide the upload code while on-screen and signal to browsers to prompt to save the code in their password managers
This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
echo "Allowed file types: ". implode(', ',getAllContentFiletypes());
|
echo "Allowed file types: ". implode(', ',getAllContentFiletypes());
|
||||||
|
|
||||||
if(defined('UPLOAD_CODE') && UPLOAD_CODE!='')
|
if(defined('UPLOAD_CODE') && UPLOAD_CODE!='')
|
||||||
echo '<br>Upload Code: <input type="text" id="uploadcode" />';
|
echo '<br>Upload Code: <input type="password" id="uploadcode" />';
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
<form class="dropzone well" id="dropzone" method="post" action="/api/upload.php" enctype="multipart/form-data">
|
<form class="dropzone well" id="dropzone" method="post" action="/api/upload.php" enctype="multipart/form-data">
|
||||||
|
|||||||
Reference in New Issue
Block a user