Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Identity/Extensions.Core/src/UserManagerMetrics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private static string GetTokenPurpose(string purpose)
"EmailConfirmation" => "email_confirmation",
"ChangeEmail" => "change_email",
"TwoFactor" => "two_factor",
_ => "_UNKNOWN"
_ => "_OTHER"
};
}

Expand Down Expand Up @@ -204,7 +204,7 @@ private static string GetPasswordResult(PasswordVerificationResult? result, bool
(PasswordVerificationResult.Failed, false, false) => "failure",
(null, true, false) => "password_missing",
(null, false, true) => "user_missing",
_ => "_UNKNOWN"
_ => "_OTHER"
};
}

Expand Down Expand Up @@ -244,7 +244,7 @@ private static string GetUpdateType(UserUpdateType updateType)
UserUpdateType.RedeemTwoFactorRecoveryCode => "redeem_two_factor_recovery_code",
UserUpdateType.SetPasskey => "set_passkey",
UserUpdateType.RemovePasskey => "remove_passkey",
_ => "_UNKNOWN"
_ => "_OTHER"
};
}

Expand Down
Loading