Mercurial > gemma
diff pkg/auth/session.go @ 4160:7cccf7fef3e8
Made 'golint' and 'staticcheck' happy with auth package.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 02 Aug 2019 17:08:58 +0200 |
parents | 0db742c7813d |
children | 91f4b3f56ce2 |
line wrap: on
line diff
--- a/pkg/auth/session.go Fri Aug 02 16:37:24 2019 +0200 +++ b/pkg/auth/session.go Fri Aug 02 17:08:58 2019 +0200 @@ -154,7 +154,7 @@ } // ErrInvalidRole is returned if a given role does not exsist in this system. -var ErrInvalidRole = errors.New("Invalid role") +var ErrInvalidRole = errors.New("invalid role") // GenerateSession creates a new session for a given user and password // backed by the roles of this user in the database.