0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

Merge pull request #1494 from logto-io/charles-log-3553-post-sign-out-uris-should-not-be-required

refactor(console): post sign-out redirect uri should be optional field
This commit is contained in:
Charles Zhao 2022-07-08 22:09:48 +08:00 committed by GitHub
commit 6e956cd66a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ const UriInputField = ({ appId, name, title, isSingle = false }: Props) => {
return (
<FormProvider {...methods}>
<form>
<FormField isRequired className={styles.field} title={title}>
<FormField isRequired={name === 'redirectUris'} className={styles.field} title={title}>
<Controller
name={name}
control={control}