This commit is contained in:
john 2025-05-16 16:10:01 +02:00
parent 14fd359ea8
commit a4ef2b4a20
26 changed files with 331 additions and 78 deletions

View file

@ -24,7 +24,7 @@ internal class ValidateSessionCommandHandler(AuthContext context)
if (user is null)
throw new InvalidSessionError();
var session = user.StartNewSession();
var session = user.PossiblyRefreshSession(request.SessionId);
return new ValidateSessionResult(
new Session(session.Id, session.Expires),