fix: hire-an-agent password reset missing must_change_password:false — clone fails #200
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
hire-an-agentStep 3 (clone) fails with authentication error even after the password was successfully reset in Step 1.Root cause
The password reset PATCH call does not include
must_change_password: false:Forgejo 11.x sets
must_change_passwordto true by default on password changes. With this flag set, basic auth works for API calls but git clone over HTTP is rejected.Fix
Add
\"must_change_password\":falseto the PATCH body:This matches the pattern already used in the user creation POST call.
Files
bin/disinto— password reset PATCH indisinto_hire_an_agent(), Step 1 existing-user branchBlocked — issue #200
no_push2026-04-04T21:59:05ZDiagnostic output