chore: route trailing slash

This commit is contained in:
2025-06-09 13:19:49 +01:00
parent 14ce860c37
commit 9bc18666ad
5 changed files with 24 additions and 18 deletions
+1
View File
@@ -43,6 +43,7 @@ func CreateSession(session *sessions.Session, context echo.Context, user *types.
MaxAge: 3600,
HttpOnly: true,
}
session.Values["id"] = user.ID
session.Values["sessionId"] = user.SessionID
session.Values["username"] = user.Username