fix: safe redirect if return_to is protected after logout
This commit is contained in:
2
types/astro.locals.d.ts
vendored
2
types/astro.locals.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
declare global {
|
||||
namespace App {
|
||||
interface Locals {
|
||||
user?: { sub: string; email?: string } | null;
|
||||
user?: { sub: string; email?: string; firstName?: string } | null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user