mirror of
https://github.com/bitwarden/server
synced 2025-12-29 14:43:39 +00: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