Commit Graph
4 Commits
Author SHA1 Message Date
whoswhip cc0c6a8286 refactor(api): migrate account deletion from minimal API to controller 2025-07-06 19:33:19 -04:00
whoswhip 89e9673a00 Convert more authentication apis to controllers and session management
- Updated `AuthController.cs` to change unauthenticated response to `Unauthorized` and added a new `Logout` method for session handling.
- Removed the old logout endpoint in `Program.cs` and centralized logout logic in `AuthController.cs`.
- Added `GetSession` and `DeleteSession` methods in `DatabaseService.cs` to enhance session management.
- Updated API endpoints in `dash.js` to reflect new routing structure for authorized account info and logout.
2025-07-06 18:59:39 -04:00
whoswhip 704d7149fc added logout api 2025-05-17 22:44:05 -04:00
whoswhip 2a25ab1ab8 Add user authentication and dashboard features
- Implemented login and registration forms with validation.
- Created dashboard layout to display user account information and pastes.
- Added JavaScript functionality for fetching account data and pastes.
- Styled authentication and dashboard pages with CSS.
- Introduced modals for logout and account deletion confirmation.
- Included error handling for user actions and API responses.

### Copilot generated commit message
2025-05-17 22:20:07 -04:00