Commit 3c297e236b57c930e07c02d1f4ea5fa0b423785d
1 parent
6e366ee805
Exists in
master
and in
3 other branches
remove password validation
Showing
2 changed files
with
4 additions
and
5 deletions
Show diff stats
src/pages/Parent/parents.vue
... | ... | @@ -862,7 +862,7 @@ export default { |
862 | 862 | ], |
863 | 863 | password: [ |
864 | 864 | v => !!v || "Password field is Required.", |
865 | - v => (/^(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/).test(v) && v.length >= 8 || 'Min 8 characters lower case symbol required' | |
865 | + // v => (/^(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/).test(v) && v.length >= 8 || 'Min 8 characters lower case symbol required' | |
866 | 866 | ], |
867 | 867 | editFatherNoRule: [ |
868 | 868 | v => !!v || " father Cell Number is required", |
... | ... | @@ -991,7 +991,6 @@ export default { |
991 | 991 | this.addParentDialog = false; |
992 | 992 | }) |
993 | 993 | .catch(error => { |
994 | - // console.log(error.response.data); | |
995 | 994 | this.snackbar = true; |
996 | 995 | this.color = "error"; |
997 | 996 | this.text = error.response.data.message; | ... | ... |
src/pages/Students/students.vue
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 | <v-card flat class="card-style pa-2" dark> |
6 | 6 | <v-layout> |
7 | 7 | <v-flex xs12> |
8 | - <label class="title text-xs-center">Edit Student</label> | |
8 | + <label class="title text-xs-center">Edit Student Details</label> | |
9 | 9 | <v-icon size="24" class="right" @click="editStudentDialog = false">cancel</v-icon> |
10 | 10 | </v-flex> |
11 | 11 | </v-layout> |
... | ... | @@ -454,7 +454,7 @@ |
454 | 454 | <v-card flat class="card-style pa-3" dark> |
455 | 455 | <v-layout> |
456 | 456 | <v-flex xs12> |
457 | - <label class="title text-xs-center">View Student</label> | |
457 | + <label class="title text-xs-center">View Student Details</label> | |
458 | 458 | <v-icon size="24" class="right" @click="profileStudentDialog = false">cancel</v-icon> |
459 | 459 | </v-flex> |
460 | 460 | </v-layout> |
... | ... | @@ -1937,7 +1937,7 @@ export default { |
1937 | 1937 | ], |
1938 | 1938 | password: [ |
1939 | 1939 | v => !!v || "Password field is Required.", |
1940 | - v => (/^(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/).test(v) && v.length >= 8 | |
1940 | + // v => (/^(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/).test(v) && v.length >= 8 | |
1941 | 1941 | ], |
1942 | 1942 | mobileNoRule: [v => !!v || " Mobile Number is required"], |
1943 | 1943 | establishmentYearRules: [v => !!v || " Academic Year is required"], | ... | ... |