mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-02-26 22:32:53 +00:00
14 lines
393 B
JavaScript
14 lines
393 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/validators'
|
|
|
|
export const passwordValidation = {
|
|
required,
|
|
maxLength: maxLength(256),
|
|
minLength: minLength(8),
|
|
}
|