aprs.me/lib/aprsme/accounts
Graham McIntire c910f9a432
refactor: split if/else in Accounts.User password helpers
- 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.
2026-04-23 14:24:29 -05:00
..
user.ex refactor: split if/else in Accounts.User password helpers 2026-04-23 14:24:29 -05:00
user_notifier.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
user_token.ex refactor to use external parser 2025-06-24 14:22:09 -05:00