Minor updates and comments
This commit is contained in:
1 parent
ff65d9eadc
commit
0a95f847d4
5 files changed
+14
-3
No files matched your search
@@ -170,6 +170,7 @@ func RegisterTeacher(c *fiber.Ctx) error {
|
||||
// Send teacher personal email temp password
|
||||
|
||||
var tid string
|
||||
// For the unlikely event that an ID is already in use this will simply try again till it gets a id not in use
|
||||
for {
|
||||
tid = GenerateID()
|
||||
isValid := ValidateID(tid)
|
||||
|
||||
Reference in new issue
Block a user