Skip to content

Commit

Permalink
Fix one pow warning
Browse files Browse the repository at this point in the history
  • Loading branch information
axelclark committed Feb 5, 2024
1 parent 35d409b commit 5fa1f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex338/accounts/user.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Ex338.Accounts.User do

use Pow.Ecto.Schema,
password_min_length: 6,
password_hash_methods: {&Bcrypt.hash_pwd_salt/1, &Bcrypt.verify_pass/2}
password_hash_verify: {&Bcrypt.hash_pwd_salt/1, &Bcrypt.verify_pass/2}

use Pow.Extension.Ecto.Schema,
extensions: [PowResetPassword, PowPersistentSession, PowInvitation]
Expand Down

0 comments on commit 5fa1f69

Please sign in to comment.