mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: implement Turnstile verification for enhanced security during login and registration
refactor: remove unnecessary interfaces for services; change user key from UID to UUID
This commit is contained in:
@@ -12,7 +12,9 @@
|
||||
|
||||
let currentPath = page.url.pathname;
|
||||
let returnParam =
|
||||
currentPath !== '/' ? `?return=${encodeURIComponent(page.url.pathname + page.url.search)}` : '';
|
||||
currentPath !== '/' && !currentPath.startsWith('/login') && !currentPath.startsWith('/register')
|
||||
? `?return=${encodeURIComponent(page.url.pathname + page.url.search)}`
|
||||
: '';
|
||||
</script>
|
||||
|
||||
<div class="fixed top-0 left-0 z-100 h-15 w-full bg-neutral-900">
|
||||
|
||||
Reference in New Issue
Block a user