hunk.code_window: }
   func (handler *Handler) writeToken(w http.ResponseWriter, user *portainer.User) *httperror.HandlerError {
   	return handler.persistAndWriteToken(w, composeTokenData(user))
   }
   func (handler *Handler) persistAndWriteToken(w http.ResponseWriter, tokenData *portainer.TokenData) *httperror.HandlerError {
   	token, err := handler.JWTService.GenerateToken(tokenData)
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit: 	tokenData := composeTokenData(user)
   	return handler.persistAndWriteToken(w, tokenData)
  
hunk.file_path: api/http/handler/auth/authenticate.go
hunk.type: replace
file: import controller from './kube-manifest-form.controller.js';
  
  export const kubeManifestForm = {
    templateUrl: './kube-manifest-form.html',
    controller,
  
    bindings: {
      formValues: '=',
      state: '=',
    },
  };
  