diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-07-05 15:33:04 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-07-05 15:33:04 +0300 |
| commit | 02ae61fe6beb68ab8e5859a5eaa2b68514c0b454 (patch) | |
| tree | 16ba0c036275bad58ec5037623f819414874062d /web/controller/index.go | |
| parent | 24b9e5bfa377f32e0942fbc9a207864b55b20d4a (diff) | |
change session name
Diffstat (limited to 'web/controller/index.go')
| -rw-r--r-- | web/controller/index.go | 2 |
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")) |
