1
0
mirror of https://github.com/bitwarden/server synced 2025-12-10 13:23:27 +00:00

chore(auth-request) [PM-24211]: Remove some old comments (solved-for).

This commit is contained in:
enmande
2025-12-05 14:12:24 -05:00
parent ca1a8c7cd0
commit 09de3e8333

View File

@@ -49,11 +49,9 @@ public class AuthRequest : ITableObject<Guid>
public bool IsExpired() public bool IsExpired()
{ {
// TODO: PM-24252 - consider using TimeProvider for better mocking in tests
return GetExpirationDate() < DateTime.UtcNow; return GetExpirationDate() < DateTime.UtcNow;
} }
// TODO: PM-24252 - this probably belongs in a service.
public bool IsValidForAuthentication(Guid userId, public bool IsValidForAuthentication(Guid userId,
string password) string password)
{ {