Mvc icon indicating copy to clipboard operation
Mvc copied to clipboard

TOTP asp.net Identity ManageController.EnableAuthenticator AddModelError

Open arlenniu opened this issue 9 years ago • 3 comments

public async Task EnableAuthenticator(EnableAuthenticatorViewModel model)

error------ if (!is2faTokenValid) { ModelState.AddModelError("model.Code", "Verification code is invalid."); return View(model); }

ok---- if (!is2faTokenValid) { ModelState.AddModelError("Code", "Verification code is invalid."); return View(model); }

arlenniu avatar Nov 25 '17 13:11 arlenniu

@blowdart any ideas on this? Is it a bug in the template?

Eilon avatar Nov 27 '17 18:11 Eilon

Uh, @danroth27 ?

blowdart avatar Nov 27 '17 19:11 blowdart

This issue was moved to aspnet/templating#166

danroth27 avatar Nov 28 '17 22:11 danroth27