fix: security hardening across platform
- Disable open /api/auth/register endpoint (gateway) - Require gateway session auth on Immich and Karakeep hooks proxies - Replace SHA-256 with bcrypt in fitness service (auth + seed) - Remove hardcoded Telegram user IDs from fitness seed - Add Secure flag to session cookie - Add domain allowlist and content-type validation to image proxy - Strengthen .gitignore (env variants, runtime data, test artifacts)
This commit is contained in:
@@ -184,7 +184,7 @@ class GatewayHandler(ResponseMixin, BaseHTTPRequestHandler):
|
||||
return
|
||||
|
||||
if path == "/api/auth/register":
|
||||
handle_register(self, body)
|
||||
self._send_json({"error": "Registration is disabled"}, 403)
|
||||
return
|
||||
|
||||
if path == "/api/me/connections":
|
||||
|
||||
Reference in New Issue
Block a user