🐛 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 var session = new AuthSession
{ {
LastGrantedAt = now, LastGrantedAt = now,
// Never expire server-side ExpiredAt = now.Plus(Duration.FromDays(7)),
ExpiredAt = null,
AccountId = challenge.AccountId, AccountId = challenge.AccountId,
ChallengeId = challenge.Id ChallengeId = challenge.Id
}; };