From 9028565d96a163b973331c02c7459cd70767f7e4 Mon Sep 17 00:00:00 2001 From: Nandgopal-R Date: Wed, 7 Jan 2026 00:09:13 +0530 Subject: [PATCH] fix: add return to compareHash --- api/auth/login.controllers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/auth/login.controllers.go b/api/auth/login.controllers.go index 9722021e..bb3462b0 100644 --- a/api/auth/login.controllers.go +++ b/api/auth/login.controllers.go @@ -180,6 +180,7 @@ func LoginOrganizer(c *gin.Context) { "message": "No organizer with given credentials exist", }) pkg.Log.ErrorCtx(c, "[AUTH-ERROR]: Password hash does not match", err) + return } // Check if there is a refreshToken already. If it exists, just mint an