Update to Go 1.23 (#73)

This commit is contained in:
Cubicroot 2024-10-20 23:34:05 +02:00 committed by GitHub
parent 35f957332b
commit 15ea2935be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 139 additions and 162 deletions

View file

@ -61,7 +61,7 @@ func (a *Authenticator) requireUserProperty(has hasUserProperty) gin.HandlerFunc
// RequireUser returns a Gin middleware which requires valid user credentials to be supplied with the request.
func (a *Authenticator) RequireUser() gin.HandlerFunc {
return a.requireUserProperty(func(user *model.User) bool {
return a.requireUserProperty(func(_ *model.User) bool {
return true
})
}