mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-23 15:44:51 +01:00
remove references to jwt in auth controller
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user