Skip to content

Commit 1a42d2f

Browse files
committed
chore(deps): Bumping deps
Signed-off-by: Vincent Boutour <[email protected]>
1 parent 81ea1e2 commit 1a42d2f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ require (
2121
github.com/go-logr/logr v1.4.2 // indirect
2222
github.com/go-logr/stdr v1.2.2 // indirect
2323
github.com/google/uuid v1.6.0 // indirect
24-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 // indirect
24+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
2525
github.com/jackc/pgpassfile v1.0.0 // indirect
2626
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
2727
github.com/jackc/puddle/v2 v2.2.2 // indirect

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
2424
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
2525
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
2626
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
27-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 h1:ad0vkEBuk23VJzZR9nkLVG0YAoN9coASF1GusYX6AlU=
28-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0/go.mod h1:igFoXX2ELCW06bol23DWPB5BEWfZISOzSP5K2sbLea0=
27+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 h1:TmHmbvxPmaegwhDubVz0lICL0J5Ka2vwTzhoePEXsGE=
28+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0/go.mod h1:qztMSjm835F2bXf+5HKAPIS5qsmQDqZna/PgVt4rWtI=
2929
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
3030
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
3131
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo=

pkg/store/db/login.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (s Service) Login(ctx context.Context, login, password string) (model.User,
4040
}
4141

4242
switch {
43-
case strings.HasPrefix(string(user.Password), "$argon2id"):
43+
case strings.HasPrefix(user.Password, "$argon2id"):
4444
if argon.CompareHashAndPassword(user.Password, password) == nil {
4545
user.Password = ""
4646

0 commit comments

Comments
 (0)