Fakultas Ilmu Komputer UI

Commit 26246888 authored by alif fadila safriyanto's avatar alif fadila safriyanto
Browse files

Merge branch '1506688765-197' into 'master'

1506688765 197

See merge request !229
parents a13a6f7e 404a417c
Pipeline #26619 passed with stages
in 13 minutes and 49 seconds
......@@ -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');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment