harbor/static/resources/js/components/validator/validator.config.js

10 lines
227 B
JavaScript

(function() {
'use strict';
angular
.module('harbor.validator')
.constant('INVALID_CHARS', [",","~","#", "$", "%"])
.constant('PASSWORD_REGEXP', /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{7,20}$/);
})();