This commit is contained in:
zel
2025-02-07 16:16:10 +08:00
parent 83aade6ac7
commit e38d4d76a2
24 changed files with 119 additions and 159 deletions

View File

@@ -5,11 +5,11 @@
}
<h3>
Logout
退出
</h3>
<p>
Logging out will make sure that others cant use this session to make changes to the wiki. You'll need to log back in before making changes.<br /><br />
退出登录前确保其他人没有在使用当前会话,退出后您需要重新登录<br /><br />
</p>
<hr />
@@ -18,12 +18,12 @@
if (User.Identity?.IsAuthenticated ?? false)
{
<form class="form-inline" asp-area="Identity" asp-page="/Account/Logout" asp-route-returnUrl="@Url.Page("/", new { area = "" })" method="post">
<button type="submit" class="btn btn-primary rounded-0">Logout</button>
<button type="submit" class="btn btn-primary rounded-0">退出</button>
</form>
}
else
{
<p>You have successfully logged out of the application.</p>
<p>操作成功</p>
}
}
</header>