From bce8179d4ee6f1d97c9928e38d56ca053302284d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 15 May 2025 13:31:11 -0300 Subject: src/cracha.go: Update scrypt.HashInput -> scrypt.HashInputT --- src/cracha.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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, } -- cgit v1.2.3