mirror of
https://github.com/hazemKrimi/crimson-vault.git
synced 2026-05-01 18:20:27 +00:00
chore: trailing slash and associate clients with user
This commit is contained in:
@@ -38,7 +38,7 @@ func (api *API) AuthSessionMiddleware(next echo.HandlerFunc) echo.HandlerFunc {
|
||||
|
||||
context.Set("id", sess.Values["id"])
|
||||
context.Set("sessionId", sess.Values["sessionId"])
|
||||
context.Set("username", sess.Values["username"])
|
||||
context.Set("name", sess.Values["name"])
|
||||
|
||||
return next(context)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user