feat: OTP for user registration is now 6 digits long

This commit is contained in:
Josepablo C
2025-03-19 21:37:02 -06:00
parent 71790b10ef
commit f3271bb817
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ function toSha256( text ){
* @param {*} text
* @returns
*/
function genKey( len = 5 , key="" ){
function genKey( len = 6, key="" ){
if( len >= 64 ){
throw "invalid key len";
}