diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-09-14 12:01:17 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-09-14 12:01:17 +1000 |
| commit | b3654a2764873cef9f171bb6ccd6726feae3e796 (patch) | |
| tree | cce7515e4d37de39889b0cc2f5212dee5fbdb9aa /Program.cs | |
| parent | 3a23cbe192040f55c54cb3bb572d531e6a07a2dd (diff) | |
| parent | d70e61cb290187bda3fa5bbc37bb25bcd3c0591e (diff) | |
Fix merge conflicts
Diffstat (limited to 'Program.cs')
| -rw-r--r-- | Program.cs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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(); |
