Implement re-checking and resetting authentication status
This commit is contained in:
@@ -246,3 +246,10 @@ def irc_enable_auth(net, num):
|
||||
payload = {}
|
||||
enabled = threshold_request(url, payload, method="POST")
|
||||
return enabled
|
||||
|
||||
|
||||
def irc_check_auth(data):
|
||||
url = "irc/network/auth"
|
||||
payload = data
|
||||
updated = threshold_request(url, payload, method="POST")
|
||||
return updated
|
||||
|
||||
Reference in New Issue
Block a user