🐛 Session will expired

This commit is contained in:
2025-09-13 16:31:23 +08:00
parent 9d282b26f3
commit be6d97ec85

View File

@@ -213,8 +213,7 @@ public class AuthService(
var session = new AuthSession
{
LastGrantedAt = now,
// Never expire server-side
ExpiredAt = null,
ExpiredAt = now.Plus(Duration.FromDays(7)),
AccountId = challenge.AccountId,
ChallengeId = challenge.Id
};