This is a test - please ignore this repository!
Find a file
Tim Zöller bc6741a749 Add global registration disable feature
Implement configurable registration control to allow administrators to disable new user signups.

Backend changes:
- Add fitpub.registration.enabled configuration property (defaults to true)
- Update AuthController to check registration status and return 403 Forbidden when disabled
- Create GET /api/auth/registration-status endpoint to expose registration status to frontend
- Add RegistrationStatusResponse DTO

Configuration changes:
- Add REGISTRATION_ENABLED environment variable to application.yml
- Add REGISTRATION_ENABLED to Dockerfile with default value of true
- Update .env.example with REGISTRATION_ENABLED documentation

Frontend changes:
- Update registration page to check status and hide form when disabled
- Add checkRegistrationStatus() to auth.js to dynamically hide registration links
- Display user-friendly message when registration is disabled

To disable registration, set environment variable: REGISTRATION_ENABLED=false

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 11:27:19 +01:00
.idea Fit File Processing and Persistence 2025-11-27 22:59:45 +01:00
src Add global registration disable feature 2025-12-03 11:27:19 +01:00
.dockerignore More vibin 2025-11-28 21:04:38 +01:00
.env.example Add global registration disable feature 2025-12-03 11:27:19 +01:00
.gitignore More vibin 2025-11-28 21:04:38 +01:00
CLAUDE.md MVP done 2025-11-29 09:56:55 +01:00
docker-compose.yml Docker Fixes 2025-11-29 12:28:58 +01:00
DOCKER.md More vibin 2025-11-28 21:04:38 +01:00
Dockerfile Add global registration disable feature 2025-12-03 11:27:19 +01:00
MVP_COMPLETE.md MVP done 2025-11-29 09:56:55 +01:00
pom.xml Docker Fixes 2025-11-29 12:28:58 +01:00