@page
@using Microsoft.AspNetCore.Http.Features
@model TwoFactorAuthenticationModel
@{
ViewData["Title"] = "Two-factor authentication (2FA)";
ViewData["ActivePage"] = ManageNavPages.TwoFactorAuthentication;
var sessionState = ViewData["SessionState"] as TightWiki.SessionState ?? throw new Exception("Wiki State Context cannot be null.");
}
You must generate a new set of recovery codes before you can log in with a recovery code.
You can generate a new set of recovery codes.
You should generate a new set of recovery codes.
You must accept the policy before you can enable two factor authentication.