1
0
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:
Kyle Spearrin
2017-09-01 15:36:26 -04:00
parent 7088907766
commit e7aa6980d5
11 changed files with 11 additions and 11 deletions

View File

@ -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.");
}