radius auth fix
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
"type": "*constant", "value": "AccessReject", "blocker": true},
|
||||
{"tag": "RejectMessage", "path": "*rep.Reply-Message",
|
||||
"filters": ["*notempty:~*cgrep.Error:"],
|
||||
"type": "*variable", "value": "~*cgrep.Error"},
|
||||
"type": "*constant", "value": "Authentication failed: User not found or account disabled"},
|
||||
{"tag": "SessionTimeout", "path": "*rep.Session-Timeout", "type": "*variable",
|
||||
"value": "~*cgrep.MaxUsage{*duration_seconds}",
|
||||
"filters": ["*notempty:~*cgrep.MaxUsage:"]},
|
||||
@@ -68,7 +68,7 @@
|
||||
{"tag": "Code", "path": "*rep.*radReplyCode", "filters": ["*notempty:~*cgrep.Error:"],
|
||||
"type": "*constant", "value": "AccessReject"},
|
||||
{"tag": "ReplyMessage", "path": "*rep.Reply-Message", "filters": ["*notempty:~*cgrep.Error:"],
|
||||
"type": "*variable", "value": "~*cgrep.Error"}
|
||||
"type": "*constant", "value": "Authentication failed: Invalid username or password"}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -88,7 +88,7 @@
|
||||
{"tag": "Code", "path": "*rep.*radReplyCode", "filters": ["*notempty:~*cgrep.Error:"],
|
||||
"type": "*constant", "value": "AccessReject"},
|
||||
{"tag": "ReplyMessage", "path": "*rep.Reply-Message", "filters": ["*notempty:~*cgrep.Error:"],
|
||||
"type": "*variable", "value": "~*cgrep.Error"}
|
||||
"type": "*constant", "value": "Authentication failed: Invalid username or password"}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -108,7 +108,7 @@
|
||||
{"tag": "Code", "path": "*rep.*radReplyCode", "filters": ["*notempty:~*cgrep.Error:"],
|
||||
"type": "*constant", "value": "AccessReject"},
|
||||
{"tag": "ReplyMessage", "path": "*rep.Reply-Message", "filters": ["*notempty:~*cgrep.Error:"],
|
||||
"type": "*variable", "value": "~*cgrep.Error"}
|
||||
"type": "*constant", "value": "Authentication failed: Invalid username or password"}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user