mirror of
https://github.com/bitwarden/server.git
synced 2025-06-17 00:03:17 -05:00
Inverted logic for EmailTotpAction
This commit is contained in:
parent
8ef77388cc
commit
a8a04102a6
@ -174,7 +174,7 @@ public class HandlebarsMailService : IMailService
|
||||
var model = new TwoFactorEmailTokenViewModel
|
||||
{
|
||||
Token = token,
|
||||
EmailTotpAction = (purpose == TwoFactorEmailPurpose.Login) ? "logging in" : "setting up two-step login",
|
||||
EmailTotpAction = (purpose == TwoFactorEmailPurpose.Setup) ? "setting up two-step login" : "logging in",
|
||||
AccountEmail = accountEmail,
|
||||
TheDate = requestDateTime.ToLongDateString(),
|
||||
TheTime = requestDateTime.ToShortTimeString(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user