File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
configuration/mosquitto-broker-os2iot Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ auth_opt_pg_port **INSERT PORT**
1313auth_opt_pg_user **INSERT USER**
1414auth_opt_pg_password **INSERT PASSWORD**
1515auth_opt_pg_dbname **INSERT DBNAME**
16- auth_opt_pg_userquery SELECT mqttPassword FROM iot_device WHERE mqttUsername = $1 limit 1
16+ auth_opt_pg_userquery SELECT mqttpasswordhash FROM iot_device WHERE mqttUsername = $1 limit 1
1717auth_opt_pg_superquery SELECT COUNT(*) FROM iot_device WHERE (mqttusername = $1 AND permissions = 'superUser')
1818auth_opt_pg_aclquery SELECT mqttTopicName FROM iot_device WHERE (mqttUsername = $1 AND permissions = 'write') OR (9 = $2 AND mqttUsername = $1)
1919
@@ -39,7 +39,7 @@ auth_opt_pg_port **INSERT PORT**
3939auth_opt_pg_user **INSERT USER**
4040auth_opt_pg_password **INSERT PASSWORD**
4141auth_opt_pg_dbname **INSERT DBNAME**
42- auth_opt_pg_userquery SELECT mqttPassword FROM iot_device WHERE mqttUsername = $1 limit 1
42+ auth_opt_pg_userquery SELECT mqttpasswordhash FROM iot_device WHERE mqttUsername = $1 limit 1
4343auth_opt_pg_superquery SELECT COUNT(*) FROM iot_device WHERE (mqttusername = $1 AND permissions = 'superUser')
4444auth_opt_pg_aclquery SELECT mqttTopicName FROM iot_device WHERE (mqttUsername = $1 AND permissions = 'write') OR (9 = $2 AND mqttUsername = $1)
4545
You can’t perform that action at this time.
0 commit comments