hunk.code_window: 		return &httperror.HandlerError{http.StatusInternalServerError, "Unable to retrieve settings from the database", err}
   	}
   	if settings.AuthenticationMethod == portainer.AuthenticationInternal {
   		user.Password, err = handler.CryptoService.Hash(payload.Password)
   		if err != nil {
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit: 	// when ldap/oauth is on, can only add users without password
   	if (settings.AuthenticationMethod == portainer.AuthenticationLDAP || settings.AuthenticationMethod == portainer.AuthenticationOAuth) && payload.Password != "" {
   		errMsg := "A user with password can not be created when authentication method is Oauth or LDAP"
   		return &httperror.HandlerError{http.StatusBadRequest, errMsg, errors.New(errMsg)}
   	}
  
hunk.file_path: api/http/handler/users/user_create.go
hunk.type: add
file: <rd-header>
    <rd-header-title title-text="Edge Stacks list">
      <a data-toggle="tooltip" title="Refresh" ui-sref="edge.stacks" ui-sref-opts="{reload: true}">
        <i class="fa fa-sync" aria-hidden="true"></i>
      </a>
    </rd-header-title>
    <rd-header-content>Edge Stacks</rd-header-content>
  </rd-header>
  <div class="row">
    <div class="col-sm-12">
      <edge-stacks-datatable
        title-text="Edge Stacks"
        title-icon="fa-th-list"
        dataset="$ctrl.stacks"
        table-key="edgeStacks"
        order-by="Name"
        remove-action="$ctrl.removeAction"
        refresh-callback="$ctrl.getStacks"
      ></edge-stacks-datatable>
    </div>
  </div>
  