]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add parsing of chap_error to mschap auth call_env
authorNick Porter <nick@portercomputing.co.uk>
Wed, 13 Mar 2024 14:49:32 +0000 (14:49 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 29 Mar 2024 12:40:54 +0000 (12:40 +0000)
src/modules/rlm_mschap/rlm_mschap.c

index c712aa129c71178a8655debb047ec2e8cc71f33c..71a32bd4ba41441c61fa29376171843b685f0856 100644 (file)
@@ -170,6 +170,7 @@ static const call_env_parser_t auth_call_env[] = {
        { FR_CALL_ENV_PARSE_ONLY_OFFSET("username", FR_TYPE_STRING, CALL_ENV_FLAG_ATTRIBUTE | CALL_ENV_FLAG_REQUIRED, mschap_auth_call_env_t, username), .pair.dflt = "&User-Name", .pair.dflt_quote = T_BARE_WORD },
        MSCHAP_COMMON_CALL_ENV(auth),
        MSCHAP_OPT_CALL_ENV(chap2_success, auth),
+       MSCHAP_OPT_CALL_ENV(chap_error, auth),
        MSCHAP_OPT_CALL_ENV(chap_mppe_keys, auth),
        MSCHAP_OPT_CALL_ENV(mppe_encryption_policy, auth),
        MSCHAP_OPT_CALL_ENV(mppe_recv_key, auth),