mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-27 22:25:58 +02:00
verify redirects are safe before redirecting
This commit is contained in:
parent
a556339b76
commit
6c813186b8
18 changed files with 99 additions and 45 deletions
|
@ -41,7 +41,7 @@ import Image from 'next/image'
|
|||
|
||||
type LoginFormProps = {
|
||||
redirect?: string;
|
||||
onLogin?: () => void;
|
||||
onLogin?: () => void | Promise<void>;
|
||||
};
|
||||
|
||||
const formSchema = z.object({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue