1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

disable organization when subscription is canceled

This commit is contained in:
Kyle Spearrin
2017-04-26 16:14:15 -04:00
parent 3a5f667683
commit 7907d839c9
4 changed files with 80 additions and 5 deletions

View File

@ -22,7 +22,10 @@ namespace Bit.Core.Models.Table
public void SetNewId()
{
Id = CoreHelpers.GenerateComb();
if(Id == default(Guid))
{
Id = CoreHelpers.GenerateComb();
}
}
}
}