auth completed
parent
aefd5db1cd
commit
fd78543cad
|
|
@ -203,11 +203,11 @@ func Checkuser(c *fiber.Ctx) error {
|
||||||
response.Type = "T"
|
response.Type = "T"
|
||||||
} else {
|
} else {
|
||||||
// The user is found for eligible tester; but let's check if it's test already done
|
// 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
|
// The user is found for eligible tester; and the test is done
|
||||||
response.Type = "ETR"
|
response.Type = "TD"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue