feat: complete register validation

* add password policy in frontend
This commit is contained in:
wancat committed 2023-11-01 21:02:01 +08:00
1 parent 1c9d69a8e0
commit fc6ac11c60
11 files changed
+57 -23

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
export const passwordPolicy = {
minLength: 8,
minNumbers: 1,
minLowercase: 1,
minUppercase: 1,
minSymbols: 0,
}
export default {
passwordPolicy,
}
+9
View File
@@ -0,0 +1,9 @@
{
"name": "@linux-odyssey/constants",
"type": "module",
"version": "1.0.0",
"private": true,
"main": "index.js",
"exports": "./index.js",
"license": "GPL"
}