feat(api): add signup, login with totp and account security pages
Signup is limited to the first user by default (UPTIME_SIGNUP). TOTP secrets are sealed with UPTIME_SECRET_KEYS and bound to the user id. Closes #3 Closes #5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
99e9b1e57d
commit
db44fedc72
18 files changed
+1792
-91
No files matched your search
@@ -5,3 +5,6 @@ UPTIME_CHECKER_REGION=local
|
||||
# Sentinel instead of a single redis (docker compose --profile sentinel up -d)
|
||||
# UPTIME_REDIS_SENTINEL_MASTER=uptime
|
||||
# UPTIME_REDIS_SENTINEL_ADDRS=127.0.0.1:26379,127.0.0.1:26380,127.0.0.1:26381
|
||||
|
||||
# Generate with: echo "k1:$(head -c32 /dev/urandom | base64)"
|
||||
UPTIME_SECRET_KEYS=dev:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
||||
Reference in new issue
Block a user