Skip to content

Commit 77abffc

Browse files
committed
made it available only to p6
1 parent 5c5398e commit 77abffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Util/RollValidation.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export const checkStudentRollNumber = (roll) => {
2828
if(roll.length!=10)
2929
return false;
3030
//p6 is VBIT college code.
31-
// if(roll.substring(2,4)!=='P6')
32-
// return false;
31+
if(roll.substring(2,4)!=='P6')
32+
return false;
3333
if(isNaN(roll[9]))
3434
return false;
3535
let year = roll.substring(0, 2).trim();

0 commit comments

Comments
 (0)