diff --git a/BTCPayServer/Hosting/Startup.cs b/BTCPayServer/Hosting/Startup.cs index edae63e41..0d6206d93 100644 --- a/BTCPayServer/Hosting/Startup.cs +++ b/BTCPayServer/Hosting/Startup.cs @@ -79,6 +79,15 @@ namespace BTCPayServer.Hosting { o.Filters.Add(new XFrameOptionsAttribute("DENY")); }); + + services.Configure(options => + { + options.Password.RequireDigit = false; + options.Password.RequiredLength = 7; + options.Password.RequireLowercase = false; + options.Password.RequireNonAlphanumeric = false; + options.Password.RequireUppercase = false; + }); } // Big hack, tests fails if only call AddHangfire because Hangfire fail at initializing at the second test run