This commit is contained in:
@@ -177,7 +177,7 @@ namespace AyaNova.Api.Controllers
|
||||
await ct.SaveChangesAsync();
|
||||
var UOpt=await ct.UserOptions.AsNoTracking().FirstAsync(z=>z.UserId==u.Id);
|
||||
|
||||
List<string> TranslationKeysToFetch = new List<string> { "AuthTwoFactor", "AuthEnterPin", "AuthVerifyCode", "Cancel" };
|
||||
List<string> TranslationKeysToFetch = new List<string> { "AuthTwoFactor", "AuthEnterPin", "AuthVerifyCode", "Cancel","AuthPinInvalid" };
|
||||
var LT = await TranslationBiz.GetSubsetStaticAsync(TranslationKeysToFetch, UOpt.TranslationId);
|
||||
|
||||
return Ok(ApiOkResponse.Response(new
|
||||
@@ -185,6 +185,7 @@ namespace AyaNova.Api.Controllers
|
||||
AuthTwoFactor = LT["AuthTwoFactor"],
|
||||
AuthEnterPin = LT["AuthEnterPin"],
|
||||
AuthVerifyCode = LT["AuthVerifyCode"],
|
||||
AuthPinInvalid=LT["AuthPinInvalid"],
|
||||
Cancel = LT["Cancel"],
|
||||
tfa = true,
|
||||
tt = u.TempToken
|
||||
|
||||
Reference in New Issue
Block a user