Skip to content

Commit a4ee465

Browse files
authored
revert case-sensitive update of immutable user email (#7671)
Signed-off-by: soer3n <srenhenning@googlemail.com>
1 parent cfafd16 commit a4ee465

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)