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:
parent
271b9fa246
commit
8b80478a97
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user