summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-09-14 12:01:17 +1000
committerJake Mannens <jake@asger.xyz>2023-09-14 12:01:17 +1000
commitb3654a2764873cef9f171bb6ccd6726feae3e796 (patch)
treecce7515e4d37de39889b0cc2f5212dee5fbdb9aa /Program.cs
parent3a23cbe192040f55c54cb3bb572d531e6a07a2dd (diff)
parentd70e61cb290187bda3fa5bbc37bb25bcd3c0591e (diff)
Fix merge conflicts
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index e78f0d4..cda77d3 100644
--- a/Program.cs
+++ b/Program.cs
@@ -8,6 +8,7 @@ namespace HyperBooru;
public class Program {
public static void Main(string[] args) {
var builder = WebApplication.CreateBuilder(args);
+ builder.Services.AddAuthentication().AddCookie();
builder.Services.AddHttpContextAccessor();
builder.Services.AddAuthentication(
CookieAuthenticationDefaults.AuthenticationScheme).AddCookie();