- User registration and login with CSRF protection - SQL injection prevention and XSS protection - Real-time form validation - Password strength requirements - Show/hide password toggle - Modern dark theme UI - Routes for /login, /register, /home, /logout - API endpoints for CRUD operations - Prettier and ESLint configure
4 lines
92 B
JavaScript
4 lines
92 B
JavaScript
document.addEventListener('DOMContentLoaded', async () => {
|
|
await api.getCSRFToken();
|
|
});
|