fix: remove password rendering from registration flow #198
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api!198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "168-remove-password-rendering"
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?
Summary
Changes
src/basketball_api/services/keycloak.py: Removepassword: ""key fromcreate_account_for_parent()return dictsrc/basketball_api/services/email.py: Replace password field with "Set Your Password" instructions in both plaintext and HTML email templatessrc/basketball_api/routes/register.py: Replace password display with set-password instructions on confirmation page; removeresult["password"]from JSON API responsetests/test_keycloak_integration.py: Update assertion to expect nopasswordkey in resultTest Plan
passwordkeyregister/+page.svelte:156readsresult.password-- tracked separatelyReview Checklist
Related Notes
result.password(tracked in issue #168)f762fe698351e5a3002fQA Review
VERDICT: APPROVE
Diff Analysis (4 files, +27/-31)
All changes are tightly scoped to the issue requirements:
create_account_for_parent()return dict dropspassword: "". Comment updated. Clean._build_credentials_html(lines 172-188) both replace password rendering with "Set Your Password" instructions pointing to Keycloak email. Thecred_passwordvariable is fully removed. Docstring updated.result["password"]. Comments updated.result["password"] == ""to"password" not in result.Verification
Cross-Repo Note
westside-app
register/+page.svelte:156readsresult.password-- documented in PR body and issue #168 as a separate concern. This is correctly scoped as basketball-api only.Nits
None.