public async Task <IActionResult> Password(PasswordInput input) { if (!ModelState.IsValid) { var vm = input.MapTo <PasswordViewModel>(); await ModelStateCleanAsync(vm); return(View(vm)); } return(RedirectToAction("login", "account", new { returnUrl = input.ReturnUrl })); }