fix: login redirect

This commit is contained in:
Alex
2025-03-02 23:28:45 +01:00
parent f719a0bbf5
commit bb56d1f7c7
2 changed files with 3 additions and 2 deletions

View File

@@ -249,6 +249,7 @@ func (uc *UserController) LoginHandler(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"message": "Login successful",
"user_id": user.ID,
})
}