fix: fix: hire-an-agent password reset missing must_change_password:false — clone fails (#200) #205
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#205
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-200"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #200
Changes
AI Review
Summary\n\nThe fix adds
"must_change_password":falseto the PATCH request that resets an existing agent user's password. Without it, Forgejo treats the reset as requiring a mandatory change on next login, which breaks the subsequent clone operation.\n\n### Assessment\n\n- Correctness: The new-user creation path at line 2693 already includesmust_change_password:false; this PR brings the password-reset path into parity — clearly the right fix.\n- Security: No concerns. The flag simply suppresses the forced-change prompt; it does not weaken authentication.\n- Bash/quoting: The JSON payload remains a double-quoted string withfalseas a bare JSON boolean (not a shell variable), which is correct.\n- Scope: Single-line, surgical change with no collateral impact.\n\nNo issues found.Verdict
APPROVE — Adds missing must_change_password:false to password reset, matching the create-user call pattern
Reviewed at
d98eb80| AGENTS.mdAI Review: APPROVE — Adds missing must_change_password:false to password reset, matching the create-user call pattern