fix: some cleanup and fixing runtime bugs, refs NOISSUE
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@using Microsoft.AspNetCore.Authentication
|
||||
|
||||
<div class="loginform">
|
||||
@if (!this.User.Identity.IsAuthenticated)
|
||||
@if (this.User == null || this.User.Identity == null || !this.User.Identity.IsAuthenticated)
|
||||
{
|
||||
<form method="post" action="Auth/Login">
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user