hunk.code_window: func (handler *Handler) authenticateLDAP(w http.ResponseWriter, user *portainer.User, password string, ldapSettings *portainer.LDAPSettings) *httperror.HandlerError {
   	err := handler.LDAPService.AuthenticateUser(user.Username, password, ldapSettings)
   	if err != nil {
   		return handler.authenticateInternal(w, user, password)
   	}
  
hunk.labels: keep replace replace replace replace keep keep
hunk.after_edit: 	if settings.AuthenticationMethod == portainer.AuthenticationOAuth {
   		return &httperror.HandlerError{http.StatusUnprocessableEntity, "Only initial admin is allowed to login without oauth", httperrors.ErrUnauthorized}
  
hunk.file_path: api/http/handler/auth/authenticate.go
hunk.type: replace
file: const _KubernetesNodeFormValues = Object.freeze({
    Taints: [],
    Labels: [],
    Availability: '',
  });
  
  export class KubernetesNodeFormValues {
    constructor() {
      Object.assign(JSON.parse(JSON.stringify(_KubernetesNodeFormValues)));
    }
  }
  
  const _KubernetesNodeTaintFormValues = Object.freeze({
    Key: '',
    Values: '',
    Effect: '',
    NeedsDeletion: false,
    IsNew: false,
    IsChanged: false,
  });
  
  export class KubernetesNodeTaintFormValues {
    constructor() {
      Object.assign(JSON.parse(JSON.stringify(_KubernetesNodeTaintFormValues)));
    }
  }
  
  const _KubernetesNodeLabelFormValues = Object.freeze({
    Key: '',
    Values: '',
    NeedsDeletion: false,
    IsNew: false,
    IsUsed: false,
    IsChanged: false,
  });
  
  export class KubernetesNodeLabelFormValues {
    constructor() {
      Object.assign(JSON.parse(JSON.stringify(_KubernetesNodeLabelFormValues)));
    }
  }
  