add personal address
This commit is contained in:
1 parent
50d1ba630e
commit
d2a153536f
17 files changed
+239
-50
No files matched your search
@@ -117,8 +117,8 @@ func (tm *JwtTokenManager) TokenMiddleware(next echo.HandlerFunc) echo.HandlerFu
|
||||
|
||||
// Rend les infos disponibles aux handlers suivants via c.Get(...)
|
||||
c.Set(auth.ContextUserIDKey, claims.ID)
|
||||
c.Set(auth.ContextEmailKey, claims.Email)
|
||||
c.Set(auth.ContextNameKey, claims.Firstname+" "+claims.Lastname)
|
||||
//c.Set(auth.ContextEmailKey, claims.Email)
|
||||
//c.Set(auth.ContextNameKey, claims.Firstname+" "+claims.Lastname)
|
||||
|
||||
return next(c)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user