diff --git a/server/user.go b/server/user.go index 77a86d9..6e3fdc4 100644 --- a/server/user.go +++ b/server/user.go @@ -53,7 +53,7 @@ func (s *Server) AddUser(ctx context.Context, user *pbUser.UserAddRequest) (*pbU // defaults to User Role, must update with greater privileges to change role newUser := &model.User{ - Username: user.Username, + Username: strings.ToLower(user.Username), RoleID: thisRole, FullName: user.FullName, FirstName: user.FirstName,