Implement manual authentication mode
This commit is contained in:
@@ -668,5 +668,5 @@ class API(object):
|
||||
num = int(num)
|
||||
if num not in main.network[net].relays.keys():
|
||||
return dumps({"success": False, "reason": f"no relay {num} on {net}"})
|
||||
regproc.enableAuthentication(net, num)
|
||||
regproc.enableAuthentication(net, num, jump=False, run_now=True)
|
||||
return dumps({"success": True})
|
||||
|
||||
Reference in New Issue
Block a user