mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +01:00
Don't use dev licensing cert if self-hosted (#1216)
This commit is contained in:
parent
5876820994
commit
d0f7750650
@ -46,7 +46,8 @@ namespace Bit.Core.Services
|
||||
_logger = logger;
|
||||
_globalSettings = globalSettings;
|
||||
|
||||
var certThumbprint = environment.IsDevelopment() ? "207E64A231E8AA32AAF68A61037C075EBEBD553F" :
|
||||
var certThumbprint = environment.IsDevelopment() && !_globalSettings.SelfHosted ?
|
||||
"207E64A231E8AA32AAF68A61037C075EBEBD553F" :
|
||||
"B34876439FCDA2846505B2EFBBA6C4A951313EBE";
|
||||
if (_globalSettings.SelfHosted)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user