From 8c584e56664b3d4031eb5b8490d67199a8767c45 Mon Sep 17 00:00:00 2001
From: mhsanaei <ho3ein.sanaei@gmail.com>
Date: Tue, 3 Dec 2024 22:37:58 +0100
Subject: [PATCH] Update index.go

---
 web/controller/index.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/controller/index.go b/web/controller/index.go
index b5ed4468..c74b6fb1 100644
--- a/web/controller/index.go
+++ b/web/controller/index.go
@@ -69,7 +69,7 @@ func (a *IndexController) login(c *gin.Context) {
 	safePass := template.HTMLEscapeString(form.Password)
 	safeSecret := template.HTMLEscapeString(form.LoginSecret)
 	if user == nil {
-		logger.Warningf("wrong username or password or secret: \"%s\" \"%s\" \"%s\", IP: %s", safeUser, safePass, safeSecret, getRemoteIp(c))
+		logger.Warningf("wrong username: \"%s\", password: \"%s\", secret: \"%s\", IP: \"%s\"", safeUser, safePass, safeSecret, getRemoteIp(c))
 		a.tgbot.UserLoginNotify(safeUser, safePass, getRemoteIp(c), timeStr, 0)
 		pureJsonMsg(c, http.StatusOK, false, I18nWeb(c, "pages.login.toasts.wrongUsernameOrPassword"))
 		return