claude[bot]
6f7cf2fb16
feat: add password reset flow using configured SMTP settings (#7525)
* feat: add password reset flow using configured SMTP settings
Implements password reset functionality for users with email/password login:
Backend:
- Add `/auth/request_password_reset` endpoint to request a password reset email
- Add `/auth/reset_password` endpoint to reset password using token
- Add `/auth/is_smtp_configured` endpoint to check if SMTP is available
- Uses existing `magic_link` table for storing reset tokens
- Tokens expire after 1 hour
- Invalidates all existing sessions on password reset
- Includes audit logging
Frontend:
- Add "Forgot password?" link on login page (shown when SMTP is configured)
- Add `/user/forgot-password` page for requesting password reset
- Add `/user/reset-password` page for entering new password
- Both pages follow existing Windmill design patterns
Security:
- Always returns success response to prevent email enumeration
- Password must be at least 8 characters
- Uses argon2 for password hashing (same as existing login)
Closes #7524
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* nits
* nits
* fix oss
* nits
* fix oss
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: HugoCasa <hugo@casademont.ch>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-01-09 10:31:56 +00:00
..
2025-12-11 13:34:17 +00:00
2026-01-09 10:31:56 +00:00
2025-12-27 12:35:19 +00:00
2025-12-23 18:19:30 +00:00
2025-11-13 09:51:15 +00:00
2025-12-23 13:47:50 +00:00
2026-01-07 04:02:15 +00:00
2025-11-14 10:14:32 +00:00
2025-12-06 16:06:30 +00:00
2025-11-25 18:22:34 +00:00
2026-01-06 17:01:50 +00:00
2025-12-20 08:51:07 +00:00
2026-01-08 12:45:00 +00:00
2025-12-15 22:52:49 +00:00
2025-12-14 22:32:22 +00:00
2025-12-11 13:34:17 +00:00
2025-12-06 16:06:30 +00:00
2025-12-14 22:32:22 +00:00
2025-12-08 16:42:35 +00:00
2025-12-20 08:51:07 +00:00
2025-12-20 08:51:07 +00:00
2025-11-29 01:23:47 +00:00
2025-12-23 18:19:30 +00:00
2025-12-08 16:20:49 +00:00
2025-12-20 08:51:07 +00:00
2026-01-07 04:02:15 +00:00