mirror of
https://github.com/volatiletech/authboss.git
synced 2025-07-09 01:05:31 +02:00
password hashing via hasher (defaults: bcrypt)
This commit is contained in:
committed by
Stephen Afam-Osemene
parent
ccfe4d1c31
commit
42f90e2471
@ -25,6 +25,7 @@ func TestAuthbossUpdatePassword(t *testing.T) {
|
||||
|
||||
ab := New()
|
||||
ab.Config.Storage.Server = storer
|
||||
ab.Config.Core.Hasher = mockHasher{}
|
||||
|
||||
if err := ab.UpdatePassword(context.Background(), user, "hello world"); err != nil {
|
||||
t.Error(err)
|
||||
|
Reference in New Issue
Block a user