mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 18:49:29 +02:00
Cleanup
- Move len sessions to template - Move time conversion inside CleanupExpiredUserSessions
This commit is contained in:
5 files changed
+17
-17
No files matched your search
@@ -43,7 +43,6 @@ func UserSessions(ctx *context.Context) {
|
||||
}
|
||||
|
||||
ctx.Data["Sessions"] = sessions
|
||||
ctx.Data["SessionsTotal"] = len(sessions)
|
||||
|
||||
activeCount := 0
|
||||
for _, s := range sessions {
|
||||
|
||||
Reference in new issue
Block a user