From 401226a14f3e5ef98b959e818d37683afd7056d9 Mon Sep 17 00:00:00 2001 From: ivar Date: Wed, 3 Dec 2025 21:55:56 +0100 Subject: Wire up authorization --- api/.idea/.idea.WhatApi/.idea/data_source_mapping.xml | 6 ------ api/.idea/.idea.WhatApi/.idea/sqldialects.xml | 6 ------ api/WhatApi/Program.cs | 1 + 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 api/.idea/.idea.WhatApi/.idea/data_source_mapping.xml delete mode 100644 api/.idea/.idea.WhatApi/.idea/sqldialects.xml diff --git a/api/.idea/.idea.WhatApi/.idea/data_source_mapping.xml b/api/.idea/.idea.WhatApi/.idea/data_source_mapping.xml deleted file mode 100644 index 16f7743..0000000 --- a/api/.idea/.idea.WhatApi/.idea/data_source_mapping.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/api/.idea/.idea.WhatApi/.idea/sqldialects.xml b/api/.idea/.idea.WhatApi/.idea/sqldialects.xml deleted file mode 100644 index f21172d..0000000 --- a/api/.idea/.idea.WhatApi/.idea/sqldialects.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/api/WhatApi/Program.cs b/api/WhatApi/Program.cs index fa50661..7d9c1b4 100644 --- a/api/WhatApi/Program.cs +++ b/api/WhatApi/Program.cs @@ -91,6 +91,7 @@ app.UseCors(); app.MapStaticAssets(); app.UseMiddleware(); app.UseAuthentication(); +app.UseAuthorization(); app.MapControllers(); app.MapGet("/", () => Results.Redirect("/map")); app.Run(); -- cgit v1.3