login works, claims können angezeigt werden

This commit is contained in:
2025-06-14 18:31:33 +02:00
parent 3d96f55e28
commit d5ea5e4581
8 changed files with 190 additions and 62 deletions

View File

@@ -1,9 +1,11 @@
using System.Diagnostics;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Watcher.Models;
namespace Watcher.Controllers;
[Authorize]
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;