Commit 159ee46a authored by d.arizona's avatar d.arizona

apdet

parent 08562e3b
...@@ -142,9 +142,9 @@ export default class Profile extends Component { ...@@ -142,9 +142,9 @@ export default class Profile extends Component {
isRegex(value) { isRegex(value) {
// const re = /^(?=.*[0-9])(?=.*[a-zA-Z])([a-zA-Z0-9]+)$/; // const re = /^(?=.*[0-9])(?=.*[a-zA-Z])([a-zA-Z0-9]+)$/;
// const re = /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{1,}$/; const re = /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{1,}$/;
// return re.test(String(value)); return re.test(String(value));
return(value) // return(value)
} }
isEmail(email) { isEmail(email) {
......
...@@ -57,9 +57,9 @@ class ResetPassword extends Component { ...@@ -57,9 +57,9 @@ class ResetPassword extends Component {
isRegex(value) { isRegex(value) {
// const re = /^(?=.*[0-9])(?=.*[a-zA-Z])([a-zA-Z0-9]+)$/; // const re = /^(?=.*[0-9])(?=.*[a-zA-Z])([a-zA-Z0-9]+)$/;
// const re = /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{1,}$/; const re = /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{1,}$/;
// return re.test(String(value)); return re.test(String(value));
return value // return value
} }
isEmail(email) { isEmail(email) {
......
...@@ -57,9 +57,9 @@ class SetPassword extends Component { ...@@ -57,9 +57,9 @@ class SetPassword extends Component {
isRegex(value) { isRegex(value) {
// const re = /^(?=.*[0-9])(?=.*[a-zA-Z])([a-zA-Z0-9]+)$/; // const re = /^(?=.*[0-9])(?=.*[a-zA-Z])([a-zA-Z0-9]+)$/;
// const re = /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{1,}$/; const re = /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{1,}$/;
// return re.test(String(value)); return re.test(String(value));
return value // return value
} }
isEmail(email) { isEmail(email) {
......
Markdown is supported
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