mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
fix configurator password loader (#1298)
This commit is contained in:
parent
dcb3601791
commit
7076692069
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ namespace BTCPayServer.Configuration
|
|||
{
|
||||
throw new System.IO.FileNotFoundException("Cookie file path not found", ex);
|
||||
}
|
||||
if (serviceType == ExternalServiceTypes.RTL)
|
||||
if (serviceType == ExternalServiceTypes.RTL || serviceType == ExternalServiceTypes.Configurator)
|
||||
{
|
||||
connectionString.AccessKey = cookieFileContent;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace BTCPayServer.Configuration
|
|||
public void LoadNonCryptoServices(IConfiguration configuration)
|
||||
{
|
||||
Load(configuration, null, "configurator", ExternalServiceTypes.Configurator, "Invalid setting {0}, " + Environment.NewLine +
|
||||
$"configurator: 'passwordfile=/etc/configurator/password'" + Environment.NewLine +
|
||||
$"configurator: 'cookiefilepathfile=/etc/configurator/cookie'" + Environment.NewLine +
|
||||
"Error: {1}",
|
||||
"Configurator");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue