Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-07-05 15:33:04 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-07-05 15:33:04 +0300
commit02ae61fe6beb68ab8e5859a5eaa2b68514c0b454 (patch)
tree16ba0c036275bad58ec5037623f819414874062d /web/controller/index.go
parent24b9e5bfa377f32e0942fbc9a207864b55b20d4a (diff)
change session name
Diffstat (limited to 'web/controller/index.go')
-rw-r--r--web/controller/index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/controller/index.go b/web/controller/index.go
index f887062a..12a2d99c 100644
--- a/web/controller/index.go
+++ b/web/controller/index.go
@@ -94,7 +94,7 @@ func (a *IndexController) login(c *gin.Context) {
func (a *IndexController) logout(c *gin.Context) {
user := session.GetLoginUser(c)
if user != nil {
- logger.Info(user.Username, "logged out successfully")
+ logger.Info(user.Username, " logged out successfully")
}
session.ClearSession(c)
c.Redirect(http.StatusTemporaryRedirect, c.GetString("base_path"))