Skip to content

Feat/feb24#16

Merged
CarsonL15 merged 4 commits into
devfrom
feat/feb24
Apr 9, 2026
Merged

Feat/feb24#16
CarsonL15 merged 4 commits into
devfrom
feat/feb24

Conversation

@CarsonL15
Copy link
Copy Markdown
Owner

fix

Added /admin page where admin users can switch between Clinic, Assessor, Chief, and Firefighter views. Purple "Admin" back button appears in all dashboard headers only for admin role. Updated login and middleware to route admin users to /admin. Fixed Resend client initialization to be lazy so it doesn't crash during Vercel builds when the API key isn't available.
…evel validation

Assessor now returns to personnel list after saving instead of going to the
review page. Fixed riskLevel mismatch where review pages sent 'High'/'Low'
but the email API expected 'High Risk'/'Low Risk', causing silent 400 errors.
Removed one-time recovery link generation from email API. Email now links
to the login page with instructions to use Forgot Password, so firefighters
can set their password on their own time without an expiring link.
Both fields were missing from the insert, resulting in NULLs in the database.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fire-app Ready Ready Preview, Comment Apr 9, 2026 11:04pm

@CarsonL15 CarsonL15 merged commit 17bc6c4 into dev Apr 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant