hunk.code_window: // @failure 400 "Invalid request"
   // @failure 422 "Invalid Credentials"
   // @failure 500 "Server error"
   // @router /auth [post]
   func (handler *Handler) authenticate(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
   	var payload authenticatePayload
   	err := request.DecodeAndValidateJSONPayload(r, &payload)
   	if err != nil {
   		return &httperror.HandlerError{http.StatusBadRequest, "Invalid request payload", err}
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit: func (handler *Handler) authenticate(rw http.ResponseWriter, r *http.Request) *httperror.HandlerError {
  
hunk.file_path: api/http/handler/auth/authenticate.go
hunk.type: replace
file: angular.module('portainer.app').component('registryFormQuay', {
    templateUrl: './registry-form-quay.html',
    bindings: {
      model: '=',
      formAction: '<',
      formActionLabel: '@',
      actionInProgress: '<',
    },
  });
  