mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
fixes to env variable for id server
This commit is contained in:
@@ -49,7 +49,7 @@ namespace Bit.Core.Services
|
||||
throw new Exception("Invalid licensing certificate.");
|
||||
}
|
||||
|
||||
if(!CoreHelpers.SettingHasValue(_globalSettings.LicenseDirectory))
|
||||
if(_globalSettings.SelfHosted && !CoreHelpers.SettingHasValue(_globalSettings.LicenseDirectory))
|
||||
{
|
||||
throw new InvalidOperationException("No license directory.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user