add exception filter when user not connected default to needing authentication and apply anonymous to some actions add user in get requests add user relation in link, comment and vote signup and in are ok now!
4 lines
156 B
Plaintext
4 lines
156 B
Plaintext
<p>Connected as @User.Identity.Name</p>
|
|
<form asp-action="Logout" asp-controller="Accounts" method="post">
|
|
<button type="submit">Sign out</button>
|
|
</form> |