hunk.code_window: 	return handler.writeToken(w, user)
   }
   func (handler *Handler) authenticateLDAPAndCreateUser(w http.ResponseWriter, username, password string, ldapSettings *portainer.LDAPSettings) *httperror.HandlerError {
   	err := handler.LDAPService.AuthenticateUser(username, password, ldapSettings)
   	if err != nil {
  
hunk.labels: keep keep keep keep replace keep keep
hunk.after_edit: func (handler *Handler) authenticateLDAP(w http.ResponseWriter, user *portainer.User, username, password string, ldapSettings *portainer.LDAPSettings) *httperror.HandlerError {
  
hunk.file_path: api/http/handler/auth/authenticate.go
hunk.type: replace
file: export { InputList } from './InputList';
  