diff --git a/config.json b/config.json index 620d866..f3e4f58 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { - "version": "1.1.1", + "version": "2.1.1", "apisecret": "pcast", "release": [ { diff --git a/controllers/authController.go b/controllers/authController.go index 222a2c5..267e6d8 100644 --- a/controllers/authController.go +++ b/controllers/authController.go @@ -222,13 +222,13 @@ func Checkuser(c *fiber.Ctx) error { // The user is not found, so it's an eligible tester; let's signalize this response.Type = "T" - // Insert the user in the database - u := models.User{ - Email: email, - UserType: "T", - TestStatus: "TS", // Awaiting test done - } - database.DB.Create(&u) + // // Insert the user in the database + // u := models.User{ + // Email: email, + // UserType: "T", + // TestStatus: "TS", // Awaiting test done + // } + // database.DB.Create(&u) } else { // The user is found and it's an admin; let's signalize this if user.UserType == "A" {