Skip to content

fix: add OTP rate limiting to prevent OTP flooding on sendConsent end…

fcbb317
Select commit
Loading
Failed to load commit list.
Merged

fix: add OTP rate limiting to prevent OTP flooding on sendConsent end… #373

fix: add OTP rate limiting to prevent OTP flooding on sendConsent end…
fcbb317
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 12, 2026 in 35s

Annotations

Check warning on line 112 in src/main/java/com/iemr/common/controller/beneficiaryConsent/BeneficiaryConsentController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzhTQrS74pkHCIi1LxS&open=AZzhTQrS74pkHCIi1LxS&pullRequest=373

Check failure on line 75 in src/main/java/com/iemr/common/service/otp/OtpRateLimiterService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this call to "replaceAll()" by a call to the "replace()" method.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzhTQq374pkHCIi1LxQ&open=AZzhTQq374pkHCIi1LxQ&pullRequest=373

Check warning on line 63 in src/main/java/com/iemr/common/service/beneficiaryOTPHandler/BeneficiaryOTPHandlerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzhTQnc74pkHCIi1LxP&open=AZzhTQnc74pkHCIi1LxP&pullRequest=373

Check warning on line 63 in src/main/java/com/iemr/common/controller/beneficiaryConsent/BeneficiaryConsentController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZzhTQrS74pkHCIi1LxR&open=AZzhTQrS74pkHCIi1LxR&pullRequest=373