openwisp / openwisp-radius

Administration web interface and REST API for freeradius 3 build in django & python. Supports captive portal authentication, WPA Enerprise (802.1x), freeradius rlm_rest, social login, Hotspot 2.0 / 802.11u, importing users from CSV, registration of new users and more.
https://openwisp.io/docs/dev/radius/
GNU General Public License v3.0
360 stars 176 forks source link

[change] Allow check method of counters to return None #518

Closed nemesifier closed 6 months ago

nemesifier commented 6 months ago

This will signal that no reply should be added to the response. Useful for raising MaxQuotaReached for on custom conditions which do not necessarily have a related reply message that can be interpreted by the NAS.

coveralls commented 6 months ago

Coverage Status

coverage: 98.728% (+0.001%) from 98.727% when pulling 7ec242b8781caec063b39b0e9a001051d945ae4c on counter-empty-reply into 91db3e60fa78805879db09d3c214e3ec5473fb45 on master.