mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Make min ttl 1
This commit is contained in:
@@ -168,7 +168,7 @@ export const validationSchema = Yup.object({
|
||||
}),
|
||||
ttl: Yup.number()
|
||||
.integer()
|
||||
.min(0)
|
||||
.min(1)
|
||||
.max(24 * 7 /* 7 days */),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user