Adjust Auth Callback URL for self-hosted instances (#167)
* Adjust URL for local development during auth callback covering more scenarios * Fix typechecking issues
This commit is contained in:
committed by
GitHub
parent
9a503412e5
commit
0478a6428d
@@ -73,7 +73,7 @@ function DeleteAccountForm() {
|
||||
const form = useForm({
|
||||
resolver: zodResolver(DeletePersonalAccountSchema),
|
||||
defaultValues: {
|
||||
confirmation: '',
|
||||
confirmation: '' as 'DELETE'
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ function DeleteTeamConfirmationForm({
|
||||
}),
|
||||
),
|
||||
defaultValues: {
|
||||
confirm: '',
|
||||
name: ''
|
||||
},
|
||||
});
|
||||
|
||||
@@ -260,7 +260,7 @@ function LeaveTeamContainer(props: {
|
||||
}),
|
||||
),
|
||||
defaultValues: {
|
||||
confirmation: '',
|
||||
confirmation: '' as 'LEAVE'
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user