OTP Code updated to 6 Digit Code, was 5 before.
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user