mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
fix schema modals
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user