1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 01:22:50 -05:00

Add product type to organization details

This commit is contained in:
Matt Gibson
2021-11-09 21:12:27 -05:00
committed by Justin Baur
parent 76c5ddb611
commit a2467ea6ea
2 changed files with 4 additions and 2 deletions

View File

@ -40,10 +40,10 @@ namespace Bit.Core.Services
return false;
}
var decryptedToken = _dataProtector.Unprotect(encryptedToken);
var decryptedToken = _dataProtector.Unprotect(encryptedToken[TokenClearTextPrefix.Length..]);
var dataParts = decryptedToken.Split(' ');
if (dataParts.Length != 2)
if (dataParts.Length != 3)
{
return false;
}