feat: OTP for user registration is now 6 digits long
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user