slightly better decoding

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-23 20:29:33 +02:00
parent 10fc15ffe0
commit c49274042b
5 changed files with 34 additions and 48 deletions

View File

@ -101,7 +101,7 @@ func (p *Packet) handleEAP(pp protocol.Payload, stm protocol.StateManager) (*eap
return next()
}
np, t, _ := emptyPayload(stm, nextChallengeToOffer)
np, t, _ := eap.EmptyPayload(stm.GetEAPSettings(), nextChallengeToOffer)
ctx := &context{
req: p.r,