mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
fix : sync sql and migration scripts
This commit is contained in:
@ -11,7 +11,7 @@ BEGIN
|
||||
AR.*,
|
||||
ROW_NUMBER() OVER (PARTITION BY RequestDeviceIdentifier ORDER BY CreationDate DESC) AS rn
|
||||
FROM dbo.AuthRequestView AR
|
||||
WHERE Type IN (0, 1) -- 0 = UnlockAndAUth, 1 = unlock
|
||||
WHERE Type IN (0, 1) -- 0 = AuthenticateAndUnlock, 1 = Unlock
|
||||
AND AR.CreationDate >= DATEADD(MINUTE, -@ExpirationMinutes, GETUTCDATE())
|
||||
AND AR.UserId = @UserId
|
||||
)
|
||||
|
Reference in New Issue
Block a user