OTP Code updated to 6 Digit Code, was 5 before.
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good

This commit is contained in:
Daniel
2026-02-17 20:34:21 +01:00
parent 3d4f6a4d26
commit 80ba4c33b6
@@ -172,7 +172,7 @@ public class AuthenticationService {
private String generate_six_digit_OTP(){
SecureRandom random = new SecureRandom();
int code = 10000 + random.nextInt(90000);
int code = 100000 + random.nextInt(900000);
return String.valueOf(code);
}