mirror of
https://github.com/hazemKrimi/crimson-vault.git
synced 2026-05-01 18:20:27 +00:00
chore: route trailing slash
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user