misc: added URL string validation

This commit is contained in:
Sheen Capadngan
2024-11-18 19:32:57 +08:00
parent 9f7ea3c4e5
commit 3be3d807d2
3 changed files with 3 additions and 3 deletions
@@ -222,7 +222,7 @@ export const LdapSchema = z.union([
]);
export const DynamicSecretTotpSchema = z.object({
url: z.string().trim().min(1)
url: z.string().url().trim().min(1)
});
export enum DynamicSecretProviders {