hunk.code_window: 	}
   	return handler.writeToken(w, user)
   }
   func (handler *Handler) authenticateInternal(w http.ResponseWriter, user *portainer.User, password string) *httperror.HandlerError {
  
hunk.labels: keep keep replace keep keep keep
hunk.after_edit: 	return &httperror.HandlerError{http.StatusUnprocessableEntity, "Login method is not supported", httperrors.ErrUnauthorized}
   }
   func isUserInitialAdmin(user *portainer.User) bool {
   	return int(user.ID) == 1
  
hunk.file_path: api/http/handler/auth/authenticate.go
hunk.type: replace
file: import angular from 'angular';
  
  import { CreateAccessTokenAngular } from '../views/account/CreateAccessToken';
  
  import sidebarModule from './sidebar';
  import gitFormModule from './forms/git-form';
  import porAccessManagementModule from './accessManagement';
  import formComponentsModule from './form-components';
  import widgetModule from './widget';
  import boxSelectorModule from './BoxSelector';
  import headerModule from './PageHeader';
  
  import { ReactExampleAngular } from './ReactExample';
  import { TooltipAngular } from './Tip/Tooltip';
  import { beFeatureIndicatorAngular } from './BEFeatureIndicator';
  
  export default angular
    .module('portainer.app.components', [headerModule, boxSelectorModule, widgetModule, sidebarModule, gitFormModule, porAccessManagementModule, formComponentsModule])
    .component('portainerTooltip', TooltipAngular)
    .component('reactExample', ReactExampleAngular)
    .component('beFeatureIndicator', beFeatureIndicatorAngular)
    .component('createAccessToken', CreateAccessTokenAngular).name;
  