Skip to content

Commit d317e37

Browse files
revert case-sensitive update of immutable user email (#7689)
Signed-off-by: soer3n <[email protected]> Co-authored-by: soer3n <[email protected]>
1 parent 3e75942 commit d317e37

File tree

1 file changed

+0
-1
lines changed
  • modules/api/pkg/provider/kubernetes

1 file changed

+0
-1
lines changed

modules/api/pkg/provider/kubernetes/user.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ func (p *UserProvider) CreateUser(ctx context.Context, name, email string, group
132132
func (p *UserProvider) UpdateUser(ctx context.Context, user *kubermaticv1.User) (*kubermaticv1.User, error) {
133133
// make sure the first patch doesn't override the status
134134
status := user.Status.DeepCopy()
135-
user.Spec.Email = strings.ToLower(user.Spec.Email)
136135
if err := p.runtimeClient.Update(ctx, user); err != nil {
137136
return nil, err
138137
}

0 commit comments

Comments
 (0)