auth completed

main
Nilo Roberto C Paim 2024-06-02 08:24:41 -03:00
parent aefd5db1cd
commit fd78543cad
1 changed files with 3 additions and 3 deletions

View File

@ -203,11 +203,11 @@ func Checkuser(c *fiber.Ctx) error {
response.Type = "T"
} else {
// The user is found for eligible tester; but let's check if it's test already done
response.Type = "ET" // Eligible tester but the test was not done already
response.Type = "RT" // Eligible tester but the test was not done already
if usertest.Status == "TR" {
if usertest.Status == "TD" {
// The user is found for eligible tester; and the test is done
response.Type = "ETR"
response.Type = "TD"
}
}
} else {