1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-13 09:08:17 -05:00

otp can be >= 32 <= 48

This commit is contained in:
Kyle Spearrin 2019-04-24 17:47:26 -04:00
parent 271b9fa246
commit 8b80478a97

View File

@ -53,7 +53,7 @@ namespace Bit.Core.Identity
return false;
}
if(string.IsNullOrWhiteSpace(token) || token.Length != 44)
if(string.IsNullOrWhiteSpace(token) || token.Length < 32 || token.Length > 48)
{
return false;
}