bugfix: Null JWT verifier

This commit is contained in:
jamesread
2024-04-11 00:04:34 +01:00
parent f13a5c070a
commit 179f1be19a
+1 -1
View File
@@ -146,7 +146,7 @@ func parseJwtHeader(headerValue string) (string, string) {
return "", ""
}
_, err := verifier.Verify(context.TODO(), headerValue)
_, err := getVerifier().Verify(context.TODO(), headerValue)
if err != nil {
log.Errorf("JWT Header verification error: %v", err)