first commit
This commit is contained in:
commit
3c0479faf0
169 files changed
+27617
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import vine from '@vinejs/vine'
|
||||
|
||||
export const loginValidator = vine.create({
|
||||
username: vine.string().trim().maxLength(64),
|
||||
password: vine.string().maxLength(256),
|
||||
code: vine
|
||||
.string()
|
||||
.trim()
|
||||
.regex(/^\d{6}$/),
|
||||
})
|
||||
Reference in new issue
Block a user