Handle declined auth result

This commit is contained in:
nemunaire 2025-10-24 11:03:26 +07:00
commit 8fe8581b78
4 changed files with 7 additions and 3 deletions

View file

@ -566,7 +566,7 @@ func (a *AuthenticationAnalyzer) CalculateAuthenticationScore(results *api.Authe
switch results.Bimi.Result {
case api.AuthResultResultPass:
score += 10
case api.AuthResultResultNone:
case api.AuthResultResultDeclined:
score += 5
default: // fail
score += 0