Skip to content

Commit

Permalink
Modify the logical calculation symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
winfredLIN committed Sep 4, 2023
1 parent d2c7bb4 commit 198afba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqle/api/middleware/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func ScannerVerifier() echo.MiddlewareFunc {
}
projectName := c.Param("project_name")
apnInParam := c.Param("audit_plan_name")
if apnInToken != apnInParam || apnInToken != utils.Md5(apnInParam) {
if apnInToken != apnInParam && apnInToken != utils.Md5(apnInParam) {
return echo.NewHTTPError(http.StatusInternalServerError, errAuditPlanMisMatch.Error())
}

Expand Down

0 comments on commit 198afba

Please sign in to comment.