fix: safe redirect if return_to is protected after logout

This commit is contained in:
Raul Lugo
2026-01-29 17:43:47 +01:00
parent 7aa0d63cc6
commit 81239dc6ab
4 changed files with 61 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
declare global {
namespace App {
interface Locals {
user?: { sub: string; email?: string } | null;
user?: { sub: string; email?: string; firstName?: string } | null;
}
}
}