1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-01-31 03:12:45 +00:00
bramw_baserow/web-frontend/modules/core/validators.js

13 lines
395 B
JavaScript

/*
In case the password validation rules change the PasswordInput component
needs to be updated as well in order to display possible new error messages
modules/core/components/helpers/PasswordInput.vue
*/
import { maxLength, minLength, required } from 'vuelidate/lib/validators'
export const passwordValidation = {
required,
maxLength: maxLength(256),
minLength: minLength(8),
}