-first commit
This commit is contained in:
3
exthernal-login-api/src/utils/otp.js
Normal file
3
exthernal-login-api/src/utils/otp.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export function generateOTP(length = 6) {
|
||||
return Math.floor(100000 + Math.random() * 900000).toString()
|
||||
}
|
||||
Reference in New Issue
Block a user