diff options
author | EuAndreh <eu@euandre.org> | 2025-05-15 13:31:11 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-05-15 13:31:11 -0300 |
commit | bce8179d4ee6f1d97c9928e38d56ca053302284d (patch) | |
tree | 0f21abaea0080c1d5904eda21eb506a8ad6c3d7f /src/cracha.go | |
parent | Make: Use $< over $? (diff) | |
download | cracha-bce8179d4ee6f1d97c9928e38d56ca053302284d.tar.gz cracha-bce8179d4ee6f1d97c9928e38d56ca053302284d.tar.xz |
src/cracha.go: Update scrypt.HashInput -> scrypt.HashInputT
Diffstat (limited to 'src/cracha.go')
-rw-r--r-- | src/cracha.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cracha.go b/src/cracha.go index c162e96..ae0a866 100644 --- a/src/cracha.go +++ b/src/cracha.go @@ -113,7 +113,7 @@ type authT struct{ queue fiinha.IQueue db *sql.DB queries queriesT - hasher func(scrypt.HashInput) ([]byte, error) + hasher func(scrypt.HashInputT) ([]byte, error) close func() } @@ -1371,7 +1371,7 @@ func (auth authT) Register( return User{}, err } - input := scrypt.HashInput{ + input := scrypt.HashInputT{ Password: []byte(password), Salt: salt, } @@ -1484,7 +1484,7 @@ func (auth authT) LoginEmail( return Session{}, err } - input := scrypt.HashInput{ + input := scrypt.HashInputT{ Password: []byte(password), Salt: user.salt, } @@ -1602,7 +1602,7 @@ func (auth authT) ResetPassword( user := userT{} - input := scrypt.HashInput{ + input := scrypt.HashInputT{ Password: []byte(password), Salt: user.salt, } @@ -1650,7 +1650,7 @@ func (auth authT) ChangePassword( return Session{}, err } - input := scrypt.HashInput{ + input := scrypt.HashInputT{ Password: []byte(newPassword), Salt: user.salt, } |