Commit ccb1bc04 authored by Pukky's avatar Pukky

เอาไป

parent f97aea8a
...@@ -38,7 +38,7 @@ func Login(c *fiber.Ctx) error { ...@@ -38,7 +38,7 @@ func Login(c *fiber.Ctx) error {
} }
if user1.Password != user.Password { if user1.Password != user.Password {
return c.Status(http.StatusUnauthorized).JSON(fiber.Map{ return c.Status(http.StatusUnauthorized).JSON(fiber.Map{
"error": "fali auth", "error": "fail auth",
"msg": "password not found", "msg": "password not found",
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment