feat: implement RadiusService for guest management and configure mschap to return explicit authentication error codes
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 1m58s
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 1m58s
This commit is contained in:
@@ -272,7 +272,8 @@ public class RadiusService : IRadiusService
|
||||
|
||||
profile.Status = "Revoked";
|
||||
|
||||
// Remove Cleartext-Password and insert Auth-Type := Reject
|
||||
// Remove Cleartext-Password from radcheck so FreeRADIUS rejects future auth with MS-CHAP error 691,
|
||||
// prompting iOS / clients to re-enter credentials instead of requiring 'Forget Network'.
|
||||
var checks = await _db.RadCheck.Where(rc => rc.Username == profile.Username).ToListAsync();
|
||||
_db.RadCheck.RemoveRange(checks);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user