remove references to jwt in auth controller

This commit is contained in:
kiwiidb
2022-01-19 16:03:39 +01:00
parent 6a8061e55f
commit d3948cce06

View File

@@ -9,16 +9,12 @@ import (
// AuthController : AuthController struct
type AuthController struct {
JWTSecret []byte
JWTExpiry int
svc *lib.LndhubService
svc *lib.LndhubService
}
func NewAuthController(svc *lib.LndhubService) *AuthController {
return &AuthController{
svc: svc,
JWTSecret: svc.Config.JWTSecret,
JWTExpiry: svc.Config.JWTExpiry,
svc: svc,
}
}