bug fix student login thinks its admin

This commit is contained in:
SowinskiBraeden committed 2022-06-08 13:02:10 -07:00
1 parent 2ef9c71f59
commit 55ca35034e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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 {