fix cid checks\

This commit is contained in:
SowinskiBraeden committed 2021-10-12 23:07:20 -07:00
1 parent dea4654cb1
commit ff65d9eadc
2 files changed
+6 -4

No files matched your search

+2 -1
View File
@@ -172,7 +172,8 @@ func RegisterTeacher(c *fiber.Ctx) error {
var tid string
for {
tid = GenerateID()
if ValidateID(tid) == true {
isValid := ValidateID(tid)
if isValid == true {
break
}
}