Added Authentication with user-auth and apikey-auth
This commit is contained in:
18
watcher-monitoring/Views/Auth/AccessDenied.cshtml
Normal file
18
watcher-monitoring/Views/Auth/AccessDenied.cshtml
Normal file
@@ -0,0 +1,18 @@
|
||||
@{
|
||||
ViewData["Title"] = "Zugriff verweigert";
|
||||
}
|
||||
|
||||
<div class="container mt-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6">
|
||||
<div class="card border-danger">
|
||||
<div class="card-body text-center">
|
||||
<h1 class="display-1 text-danger">🚫</h1>
|
||||
<h2 class="card-title">Zugriff verweigert</h2>
|
||||
<p class="card-text">Sie haben keine Berechtigung, auf diese Seite zuzugreifen.</p>
|
||||
<a asp-controller="Auth" asp-action="Login" class="btn btn-primary">Zurück zum Login</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user