1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

feat: Stronger password policy

This commit is contained in:
Maksim Eltyshev 2022-08-26 18:59:44 +02:00
parent 9ef9c00040
commit 799f34ab68
7 changed files with 33 additions and 10 deletions

View file

@ -18,6 +18,8 @@ module.exports = {
},
password: {
type: 'string',
minLength: 6,
regex: /^(?=.*[A-Za-z])(?=.*\d).+$/,
required: true,
},
currentPassword: {