mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
otp can be >= 32 <= 48
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user