mirror of
https://gitlab.sectorq.eu/jaydee/api_server.git
synced 2026-09-17 02:12:55 +02:00
build
This commit is contained in:
@@ -36,7 +36,7 @@ def get_token(args):
|
|||||||
def ban_ip(args):
|
def ban_ip(args):
|
||||||
"""Ban or unban IP address"""
|
"""Ban or unban IP address"""
|
||||||
data = get_token(args)
|
data = get_token(args)
|
||||||
|
logging.info(f"received payload: {json.dumps(args)}")
|
||||||
headers = {"x-csrf-token": data[0]}
|
headers = {"x-csrf-token": data[0]}
|
||||||
|
|
||||||
# Step 3: Update firewall group
|
# Step 3: Update firewall group
|
||||||
|
|||||||
Reference in New Issue
Block a user