mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 23:44:22 +00:00
Delete more debug logs
This commit is contained in:
@@ -52,8 +52,6 @@ type jwtService struct {
|
||||
// NewJWTService creates a new JWT service with the provided configuration
|
||||
// Returns an error if the signing key is missing
|
||||
func NewJWTService(config JWTConfig) (JWTManager, error) {
|
||||
log := getJWTLogger()
|
||||
|
||||
if config.SigningKey == "" {
|
||||
return nil, fmt.Errorf("signing key is required")
|
||||
}
|
||||
@@ -66,10 +64,6 @@ func NewJWTService(config JWTConfig) (JWTManager, error) {
|
||||
config.RefreshTokenExpiry = 7 * 24 * time.Hour
|
||||
}
|
||||
|
||||
log.Info("initialized JWT service",
|
||||
"accessExpiry", config.AccessTokenExpiry,
|
||||
"refreshExpiry", config.RefreshTokenExpiry)
|
||||
|
||||
return &jwtService{config: config}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user