mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
Add Cloudflare Turnstile integration and update UI titles
- Program.cs: Added static fields for Turnstile keys, updated login HTML, added token validation in login and sign-up endpoints, and updated configuration loading. - admin.html, dash.html: Changed title to "dashboard". - login.html, signup.html: Added Turnstile script and widget, updated form submission, and added styles/JS for token handling. - user.html: Adjusted width of .pastes-wrapper. - Turnstile.cs: Added Turnstile class with VerifyTurnstileToken method for token verification via Cloudflare API.
This commit is contained in:
@@ -174,7 +174,7 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: fit-content;
|
||||
width: 85%;
|
||||
width: calc(100% - 52px);
|
||||
max-width: 100%;
|
||||
background-color: #222222;
|
||||
border-radius: 5px;
|
||||
|
||||
Reference in New Issue
Block a user