Implement button to enable authentication for relay

This commit is contained in:
2022-08-13 22:25:42 +01:00
parent d3dd070db0
commit 985705dfa4
4 changed files with 50 additions and 0 deletions

View File

@@ -241,3 +241,10 @@ def irc_provision_relay(net, num):
payload = {}
provisioned = threshold_request(url, payload, method="POST")
return provisioned
def irc_enable_auth(net, num):
url = f"irc/network/{net}/{num}/auth"
payload = {}
enabled = threshold_request(url, payload, method="POST")
return enabled