[SYS] Password management improvements (#1787)

* Use one single password for Access point, OTA and WebUI access
* Enable to change the password during WM onboarding, with the WebUI, and MQTT command
* Remove the default password during the first configuration to connect to the AP
* When using the last 8 digits of the MAC as the password, it can now be changed
* Remove gateway password sending to client
This commit is contained in:
Florian authored and GitHub committed 2023-11-02 09:10:20 -05:00
1 parent 7c48129f37
commit 99de6ef4a6
8 files changed
+129 -41

No files matched your search

+6
View File
@@ -54,6 +54,12 @@ This command can also be used with other controllers that does not support the i
If the new connection fails the gateway will fallback to the previous connection.
:::
## Change the Gateway password
The password must be 8 characters minimum.
`mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTtoSYS/config" -m '{"gw_pass":"12345678"}'`
## Change the MQTT broker credentials
```
mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTtoSYS/config" -m
+1 -1
View File
@@ -10,7 +10,7 @@ For ESP32 based environments a WebUI is available to provide basic configuration
# Login Authentication
By default access to the WebUI uses basic authentication to control access to your OpenMQTTGateway Device. The login is `admin` and the password is your ota_password (if unchanged, the default ota_password is `OTAPASSWORD`).
By default access to the WebUI uses basic authentication to control access to your OpenMQTTGateway Device. The login is `admin` and the password is your `gateway password` (if unchanged during onboarding there is no password).
::: warning
The communication with the WebUI is not encrypted, which means that your data may be visible on your local network.