  #include <QPixmap>
  #include <QPushButton>
  #include <QLineEdit>
  #include <QRandomGenerator>
  #include <QtConcurrent>
  #include <algorithm>
  
  #include "common/params.h"
  #include "networking.hpp"
  #include "util.h"
 
</s> remove   static QString getText(QString prompt);
 </s> add   static QString getText(QString prompt, int minLength = -1); </s> remove       inputField->setPromptText("Wrong password for \"" + n.ssid +"\"");
      s->setCurrentIndex(0);
      emit openKeyboard();
 </s> add       QString pass = InputDialog::getText("Wrong password for \"" + n.ssid +"\"", 8);
      wifi->connect(n, pass); </s> remove   return; // TODO: add this back
  /*
 </s> add  </s> remove     QString pass = InputDialog::getText("Enter password for \"" + n.ssid + "\"");
 </s> add     QString pass = InputDialog::getText("Enter password for \"" + n.ssid + "\"", 8);
  #include <QPixmap>
  #include <QPushButton>
  #include <QLineEdit>
  #include <QRandomGenerator>

  #include <algorithm>
  
  #include "common/params.h"
  #include "networking.hpp"
  #include "util.h"
keep keep keep keep replace keep keep keep keep keep
 Qt-UI Cleanup SSH and Tethering password (#20169)

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/ui/qt/offroad/networking.cc