Updated confserver
Updated confserver to use tinydb and set users, tokens, authcodes
This commit is contained in:
parent
a4fec85717
commit
8806e804f0
4 changed files with 139 additions and 80 deletions
|
|
@ -404,7 +404,7 @@ class BumperMQTTServer_Plugin:
|
|||
clientresource = didsplit[1].split("/")[1]
|
||||
client = bumper.client_get(clientresource)
|
||||
if client:
|
||||
bumper.client_set_mqtt(client['userid'], False)
|
||||
bumper.client_set_mqtt(client['resource'], False)
|
||||
|
||||
except Exception as e:
|
||||
mqttserverlog.exception("{}".format(e))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue