@using Microsoft.AspNetCore.Mvc.Localization @inject IViewLocalizer T @{ ViewData["Title"] = T["Access denied"]; }
@T["You currently do not have permission to access the page you tried to access."]
@if (!User.Identity?.IsAuthenticated ?? false) { @T["Please click here to return to the login page"] }