Skip to content

Commit 9931f93

Browse files
committed
fix: neptun code length
1 parent d11daa1 commit 9931f93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grade-management-new/GradeManagement.Client/Components/NewDialogs/NewSubjectDialog.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141

4242
private IEnumerable<string> NeptunCodeValidator(string pw)
4343
{
44-
if (pw.Length != 11)
45-
yield return "Neptun code should be exactly 11 characters long.";
44+
if (pw.Length < 20)
45+
yield return "Neptun code should be less than 20 characters long.";
4646
}
4747

4848
}

0 commit comments

Comments
 (0)