diff --git a/controllers/authController.go b/controllers/authController.go index dd329cb..53b595a 100644 --- a/controllers/authController.go +++ b/controllers/authController.go @@ -799,7 +799,7 @@ func AdminLogin(c *fiber.Ctx) error { func Student(c *fiber.Ctx) error { var sid string - if verified, _ := AuthenticateUser(c, 3); !verified { + if verified, _ := AuthenticateUser(c, 3); verified { var data map[string]string if err := c.BodyParser(&data); err != nil { diff --git a/main.go b/main.go index 48b422c..8d6caf4 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( "github.com/gofiber/fiber/v2/middleware/cors" ) -const version string = "\nv0.9.1-Alpha" +const version string = "\nv0.9.2-Alpha" func main() { fmt.Println(version)