oidc by default aus, oidc Button nur wenn oidc aktiviert, release pipeline

This commit is contained in:
2025-06-22 09:48:12 +02:00
parent 4c764b99f1
commit d9eecaa2d9
4 changed files with 30 additions and 18 deletions

View File

@@ -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>