|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
In standalone mode (no DATABASE_URL), the in-memory user store only had hardcoded demo accounts. Any real email the developer used was lost on every server restart, causing OTP requests to silently fail with "unknown email". NewUserRepository now accepts devEmail + devPassword. If DEV_USER_EMAIL is set, that account is seeded on every startup alongside the demo users. The developer's email is always registered, OTPs route to notify (or log to console), and re-renders/restarts no longer break the auth flow. New config fields: DevUserEmail (DEV_USER_EMAIL) / DevUserPassword (DEV_USER_PASSWORD, default: "DevPassword1"). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| templates | ||
| components.go | ||
| provider_test.go | ||
| provider.go | ||