- do_hash_password/3: move the changeset.valid? branch out of the `if` into apply_hash/3, dispatched on the boolean. The bcrypt 72-byte cap and plaintext-scrubbing steps now live in one clear function head. - validate_current_password/2: dispatch on valid_password?/2 via check_current_password/2 so the add_error branch is its own clause. No behavior change; all 24 Accounts tests still pass and dialyzer stays clean. |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| mix/tasks | ||
| aprs_web.ex | ||
| aprsme.ex | ||