1
0
mirror of https://github.com/bitwarden/server synced 2025-12-12 22:33:45 +00:00
Files
server/src/Core/Auth/Models/Mail/FailedAuthAttemptModel.cs
Todd Martin 3b23f45cba feat(2fa): [PM-24425] Add email on failed 2FA attempt
* Added email on failed 2FA attempt.

* Added tests.

* Adjusted email verbiage.

* Added feature flag.

* Undid accidental change.

* Undid unintentional change to clean up PR.

* Linting

* Added attempted method to email.

* Changes to email templates.

* Linting.

* Email format changes.

* Email formatting changes.

(cherry picked from commit 3c5de319d1)
2025-08-11 17:27:01 -04:00

14 lines
362 B
C#

// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Auth.Enums;
using Bit.Core.Models.Mail;
namespace Bit.Core.Auth.Models.Mail;
public class FailedAuthAttemptModel : NewDeviceLoggedInModel
{
public string AffectedEmail { get; set; }
public TwoFactorProviderType TwoFactorType { get; set; }
}