mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 11:23:47 +00:00
7bb7ab6f13
Base functionality:
DB
email sending
user registration & login
storing new characters and reading them back
Notes:
Functionality is "hidden" with no links pointing to it.
Most pages are scaffolded and not reviewed at all :(
local Dev db setup is pushed to git
NO local email setup :(
22 lines
595 B
Plaintext
22 lines
595 B
Plaintext
@page
|
|
@model LogoutModel
|
|
@{
|
|
ViewData["Title"] = "Log out";
|
|
}
|
|
|
|
<header>
|
|
<h1>@ViewData["Title"]</h1>
|
|
@{
|
|
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="nav-link btn btn-link text-dark">Click here to Logout</button>
|
|
</form>
|
|
}
|
|
else
|
|
{
|
|
<p>You have successfully logged out of the application.</p>
|
|
}
|
|
}
|
|
</header>
|