fix extra content in the response body when JWT is invalid (#36)

Signed-off-by: Tiger Wang <tigerwang@outlook.com>
This commit is contained in:
Tiger Wang 2023-04-24 18:22:18 -04:00 committed by GitHub
parent a2a23d1541
commit 97c42efa71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -3,7 +3,7 @@ module github.com/IceWhaleTech/CasaOS-UserService
go 1.20
require (
github.com/IceWhaleTech/CasaOS-Common v0.4.4-alpha2
github.com/IceWhaleTech/CasaOS-Common v0.4.4-alpha3
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
github.com/deepmap/oapi-codegen v1.12.4
github.com/getkin/kin-openapi v0.116.0

4
go.sum
View File

@ -1,5 +1,5 @@
github.com/IceWhaleTech/CasaOS-Common v0.4.4-alpha2 h1:EIuQbVpuU2QZVui+ApYCEt27qGCUaQhgHCdOeHmgAwc=
github.com/IceWhaleTech/CasaOS-Common v0.4.4-alpha2/go.mod h1:iv6fJJs7IKv1tSrsbyA3Fq9xfeKNoaxhqA6IQUBeg9Q=
github.com/IceWhaleTech/CasaOS-Common v0.4.4-alpha3 h1:OzOihzq8qESNu8aEJfgqoxAECeipoXCjT70gtUKEfY0=
github.com/IceWhaleTech/CasaOS-Common v0.4.4-alpha3/go.mod h1:iv6fJJs7IKv1tSrsbyA3Fq9xfeKNoaxhqA6IQUBeg9Q=
github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=