Skip to content

Commit

Permalink
fix send SUPI even if authentication is failure (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
chliu-nems authored Nov 6, 2021
1 parent 2eef8e2 commit b2dcd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion producer/ue_authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ func Auth5gAkaComfirmRequestProcedure(updateConfirmationData models.Confirmation
responseBody.AuthResult = models.AuthResult_SUCCESS
success = true
logger.Auth5gAkaComfirmLog.Infoln("5G AKA confirmation succeeded")
responseBody.Supi = currentSupi
responseBody.Kseaf = ausfCurrentContext.Kseaf
} else {
ausfCurrentContext.AuthStatus = models.AuthResult_FAILURE
Expand All @@ -346,7 +347,6 @@ func Auth5gAkaComfirmRequestProcedure(updateConfirmationData models.Confirmation
return nil, &problemDetails
}

responseBody.Supi = currentSupi
return &responseBody, nil
}

Expand Down

0 comments on commit b2dcd71

Please sign in to comment.