]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
In-progress eap returns ok or updated
authorNick Porter <nick@portercomputing.co.uk>
Wed, 27 Nov 2024 12:03:21 +0000 (12:03 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 27 Nov 2024 12:03:21 +0000 (12:03 +0000)
Adjust default policy to reflect that - usually it makes no sense to
call data stores etc part way through eap.

raddb/sites-available/default

index 72f890c1b22081133a2634444957e4fb80a89a36..cb6ae15fc4c649942f8fead390ecbc1b1e463773 100644 (file)
@@ -818,7 +818,7 @@ recv Access-Request {
        #  The module also sets the EAP-Type attribute in the request
        #  list, to the incoming EAP type.
        #
-       #  The `eap` module returns `ok` if it is not yet ready to
+       #  The `eap` module returns `ok` or `updated` if it is not yet ready to
        #  authenticate the user. The configuration below checks for
        #  that return value, and if so, stops processing the current
        #  section.
@@ -832,6 +832,7 @@ recv Access-Request {
        #
        eap {
                ok = return
+               updated = return
        }
 
        #