🐛 Fix registration service issue

This commit is contained in:
2024-06-22 21:10:52 +08:00
parent 4537bc9f28
commit 18ae5f12e2
3 changed files with 29 additions and 30 deletions

View File

@ -54,7 +54,6 @@ func (v *HyperConn) EnsureAuthenticated(c *fiber.Ctx) error {
if _, ok := c.Locals("p_user").(*proto.Userinfo); !ok {
return fiber.NewError(fiber.StatusUnauthorized)
}
return nil
}