Change user and pass of GUI
Atorcha opened this issue · 2 comments
Atorcha commented
Good job!!
I have tried to make user and pass of GUI a variable like string that you can save in NVS and although you update firm always is saved like SSID and PASS for example.
Has you consider to add this?
Thanks so much
MartinMueller2003 commented
Are you asking if ESPUI should save data in NVM or on the file system? From what I can see, the library is config storage agnostic. The user is responsible for maintaining configuration information and updating the ESPUI object when things change. If ESP had a standardized way of storing config (like an android or ios APP) then we could do it.
MartinMueller2003 commented
This will work
static String user = "nombre";
static String pass = "contraseña";
ESPUI.begin("ESP32 web", user.c_str(), pass.c_str());