diff --git a/assets/js/components/CompanyRegisterModal.jsx b/assets/js/components/CompanyRegisterModal.jsx index f149976246c6a161704c0645d06a4cc879176595..d399e50fc9f93a694682330b7862a2db5df3d5b7 100755 --- a/assets/js/components/CompanyRegisterModal.jsx +++ b/assets/js/components/CompanyRegisterModal.jsx @@ -78,7 +78,7 @@ export default class CompanyRegisterModal extends React.Component { this.passwordConfirmField = e.target; } - const validatePassword = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}/g; + const validatePassword = /(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]).{8,}/g; if (!validatePassword.test(this.passwordField.value)) { this.passwordField.setCustomValidity('Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters'); diff --git a/core/migrations/0020_merge_20191006_2024.py b/core/migrations/0020_merge_20191006_2024.py new file mode 100644 index 0000000000000000000000000000000000000000..6ef81c3b8860e513380dc462dce8633985a6570d --- /dev/null +++ b/core/migrations/0020_merge_20191006_2024.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.17 on 2019-10-06 13:24 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0017_vacancy_amount'), + ('core', '0019_merge_20191006_0852'), + ('core', '0014_auto_20191004_1340'), + ] + + operations = [ + ]