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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user