Skip to content

Require bootstrap admin password change on first login - #537

Merged
matteius merged 1 commit into
mainfrom
fix/issue-493-force-password-change
Aug 24, 2026
Merged

Require bootstrap admin password change on first login#537
matteius merged 1 commit into
mainfrom
fix/issue-493-force-password-change

Conversation

@matteius

Copy link
Copy Markdown
Contributor

Summary

  • flag only newly created fallback admin/admin accounts for an immediate password change
  • restrict password-authenticated bootstrap sessions to auth verification and changing their own password
  • block every application entry point until the password is replaced, while preserving password-first MFA ordering

Compatibility and security

  • existing installations remain unflagged
  • a configured [web] password skips the forced-change flow
  • scoped and legacy API tokens continue to work
  • demo mode remains read-only and unaffected
  • successful replacement clears the flag atomically, invalidates sessions, and clears auth cookies

Validation

  • full C build
  • 76 applicable C tests
  • focused auth and route-gating tests
  • 122 frontend tests
  • production Vite build

Closes #493

@matteius
matteius merged commit c2f2376 into main Aug 24, 2026
4 checks passed
@matteius
matteius deleted the fix/issue-493-force-password-change branch August 24, 2026 14:30
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.

Require admin password change on first login

1 participant