Fix credentials
This commit is contained in:
@@ -30,7 +30,7 @@ if __name__ == '__main__':
|
||||
api_broker = MQTTService(
|
||||
api_broker_address,
|
||||
api_broker_port,
|
||||
username="rpi",
|
||||
username="customer",
|
||||
password="hepl",
|
||||
)
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ if [ ! -f "$PASSWORD_FILE" ]; then
|
||||
|
||||
# Add pre-registered users
|
||||
mosquitto_passwd -b "$PASSWORD_FILE" board-mate-api hepl
|
||||
mosquitto_passwd -b "$PASSWORD_FILE" customer hepl
|
||||
echo "Password file created !"
|
||||
else
|
||||
echo "Password file exists, skipping this step"
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user