mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05: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