oidc by default aus, oidc Button nur wenn oidc aktiviert, release pipeline
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
@{
|
||||
Layout = "~/Views/Shared/_LoginLayout.cshtml";
|
||||
ViewData["Title"] = "Login";
|
||||
var oidc = ViewBag.oidc;
|
||||
}
|
||||
|
||||
<style>
|
||||
@@ -79,9 +80,13 @@
|
||||
|
||||
<hr class="my-4" />
|
||||
|
||||
<form asp-controller="Auth" asp-action="SignIn" method="get">
|
||||
<div class="d-grid gap-2">
|
||||
<button type="submit" class="btn btn-pocketid">Mit PocketID anmelden</button>
|
||||
</div>
|
||||
</form>
|
||||
@if (ViewBag.oidc)
|
||||
{
|
||||
<form asp-controller="Auth" asp-action="SignIn" method="get">
|
||||
<div class="d-grid gap-2">
|
||||
<button type="submit" class="btn btn-pocketid">Mit PocketID anmelden</button>
|
||||
</div>
|
||||
</form>
|
||||
}
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user