mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 21:18:13 -05: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;
|
_logger = logger;
|
||||||
_globalSettings = globalSettings;
|
_globalSettings = globalSettings;
|
||||||
|
|
||||||
var certThumbprint = environment.IsDevelopment() ? "207E64A231E8AA32AAF68A61037C075EBEBD553F" :
|
var certThumbprint = environment.IsDevelopment() && !_globalSettings.SelfHosted ?
|
||||||
|
"207E64A231E8AA32AAF68A61037C075EBEBD553F" :
|
||||||
"B34876439FCDA2846505B2EFBBA6C4A951313EBE";
|
"B34876439FCDA2846505B2EFBBA6C4A951313EBE";
|
||||||
if (_globalSettings.SelfHosted)
|
if (_globalSettings.SelfHosted)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user