Skip to content

Commit

Permalink
PunjabTeachers
Browse files Browse the repository at this point in the history
  • Loading branch information
Krrupa committed Dec 7, 2023
1 parent 8ec2f73 commit e868486
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/components/Entry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ export default {
this.isExtraInputValidationRequired) ||
this.group == "Candidates" ||
this.group == "TNStudents" ||
this.group == "PunjabStudents"
this.group == "PunjabStudents" ||
this.group == "PunjabTeachers"
);
},
Expand Down Expand Up @@ -569,7 +570,8 @@ export default {
this.group == "NGOStudents" ||
this.group == "TNStudents" ||
this.group == "DMVSStudents" ||
this.group == "PunjabStudents") &&
this.group == "PunjabStudents" ||
this.group == "PunjabTeachers") &&
(this.redirectTo == "quiz" || this.redirectTo == "google-forms")
) {
this.isCurrentUserValid = userValidationResponse.isCurrentUserValid;
Expand Down
3 changes: 2 additions & 1 deletion src/services/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ export async function validateID(
group == "DelhiStudents" ||
group == "NGOStudents" ||
group == "DMVSStudents" ||
group == "PunjabStudents"
group == "PunjabStudents" ||
group == "PunjabTeachers"
) {
let isCurrentUserValid = await userAPI.verifyUser(userID, group);
let isBirthdateValid = true;
Expand Down

0 comments on commit e868486

Please sign in to comment.