mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
Enhance security, add admin features, and improve UX
Removed unused cryptography directive and switched to BCrypt for hashing IPs and tokens with a configurable salt. Updated file paths for cross-platform compatibility. Added rate limiting to routes and new admin API endpoints for user management. Improved `config.json` handling and added random password generation. Enhanced `admin.html` with search debounce, infinite scrolling, and updated CSS. Added password change functionality and notifications to `user.html`. Improved error handling in `archives.html` and refactored `index.html` for better readability. Corrected password character count in `signup.html`.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<label id="characterCount" for="characterCount" class="ccounter">0/20</label>
|
||||
<label for="passwordTitle" class="label" id="margin-top">Password</label>
|
||||
<input type="password" id="passwordInput" class="textinput" name="pasteTitle" required maxlength="50" minlength="8">
|
||||
<label id="passcharacterCount" for="characterCount" class="ccounter">0/20</label>
|
||||
<label id="passcharacterCount" for="characterCount" class="ccounter">0/50</label>
|
||||
<button type="submit" class="button" id="button-margin-top">Sign-up</button>
|
||||
</form>
|
||||
<h3 id="error-message"></h3>
|
||||
|
||||
Reference in New Issue
Block a user