summaryrefslogtreecommitdiffstats
path: root/server/src/Utilities/BasicAuthenticationHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Utilities/BasicAuthenticationHandler.cs')
-rw-r--r--server/src/Utilities/BasicAuthenticationHandler.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/Utilities/BasicAuthenticationHandler.cs b/server/src/Utilities/BasicAuthenticationHandler.cs
index 1793c95..6138193 100644
--- a/server/src/Utilities/BasicAuthenticationHandler.cs
+++ b/server/src/Utilities/BasicAuthenticationHandler.cs
@@ -17,11 +17,11 @@ public class BasicAuthenticationHandler : AuthenticationHandler<AuthenticationSc
UrlEncoder encoder,
ISystemClock clock,
AppDbContext context,
- IOptions<AppConfiguration> configuration
+ VaultService vaultService
) :
base(options, logger, encoder, clock) {
_context = context;
- _configuration = configuration.Value;
+ _configuration = vaultService.GetCurrentAppConfiguration();
_logger = logger.CreateLogger<BasicAuthenticationHandler>();
}