radius auth fix

This commit is contained in:
2025-12-23 20:01:46 +05:00
parent 5be08977bc
commit f1f09bda53

View File

@@ -32,12 +32,12 @@
"type": "*constant", "value": "*attributes"}
],
"reply_fields": [
{"tag": "RejectCode", "path": "*rep.*radReplyCode",
"filters": ["*notempty:~*cgrep.Error:"],
"type": "*constant", "value": "AccessReject", "blocker": true},
{"tag": "RejectMessage", "path": "*rep.Reply-Message",
"filters": ["*notempty:~*cgrep.Error:"],
"type": "*constant", "value": "Authentication failed: User not found or account disabled"},
{"tag": "RejectCode", "path": "*rep.*radReplyCode",
"filters": ["*notempty:~*cgrep.Error:"],
"type": "*constant", "value": "AccessReject", "blocker": true},
{"tag": "SessionTimeout", "path": "*rep.Session-Timeout", "type": "*variable",
"value": "~*cgrep.MaxUsage{*duration_seconds}",
"filters": ["*notempty:~*cgrep.MaxUsage:"]},