remove old todo comment
This commit is contained in:
parent
00683c731e
commit
7bbe082550
1 changed files with 0 additions and 2 deletions
|
|
@ -7,8 +7,6 @@ import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/service"
|
"git.juancwu.dev/juancwu/budgit/internal/service"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO: implement clearing jwt token in auth service
|
|
||||||
|
|
||||||
// AuthMiddleware checks for JWT token and adds user + profile + subscription to context if valid
|
// AuthMiddleware checks for JWT token and adds user + profile + subscription to context if valid
|
||||||
func AuthMiddleware(authService *service.AuthService, userService *service.UserService, profileService *service.ProfileService) func(http.Handler) http.Handler {
|
func AuthMiddleware(authService *service.AuthService, userService *service.UserService, profileService *service.ProfileService) func(http.Handler) http.Handler {
|
||||||
return func(next http.Handler) http.Handler {
|
return func(next http.Handler) http.Handler {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue