Ejemplo n.º 1
0
        // ReSharper disable once RedundantAssignment
        public async Task <IActionResult> TwoFactorAuthentication(TwoFactorAuthenticationModel model)
        {
            await _signInManager.ForgetTwoFactorClientAsync();

            model = await _manageEndpoint.TwoFactorAuthentication(UserId);

            model.StatusMessage = "The current browser has been forgotten. When you login again from this browser you will be prompted for your 2fa code.";
            return(View(model));
        }