fix schema modals

This commit is contained in:
dswbx
2025-07-07 16:38:39 +02:00
parent 88ec3432a0
commit ea46dc8df0
4 changed files with 7 additions and 11 deletions
@@ -33,7 +33,7 @@ export class PasswordStrategy extends Strategy<typeof schema> {
private getPayloadSchema() {
return s.object({
email: s.string({
pattern: /^[\w-\.\+_]+@([\w-]+\.)+[\w-]{2,4}$/,
format: "email",
}),
password: s.string({
minLength: 8, // @todo: this should be configurable