0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

refactor(console): allow editing refresh token ttl for non-m2m apps (#4232)

* refactor(console): allow editing refresh token ttl for non-m2m apps

* chore: add changeset
This commit is contained in:
Charles Zhao 2023-07-26 11:13:15 +08:00 committed by GitHub
parent 605e2b2a81
commit 16d83dd2f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@logto/console": patch
---
Allow editing refresh token TTL for non-M2M applications (include SPA type)

View file

@ -121,7 +121,7 @@ function AdvancedSettings({ applicationType, oidcConfig }: Props) {
/>
</FormField>
)}
{[ApplicationType.Traditional, ApplicationType.Native].includes(applicationType) && (
{applicationType !== ApplicationType.MachineToMachine && (
<>
<FormField title="application_details.rotate_refresh_token">
<Switch