Merge branch 'feat/2fa' of https://github.com/authorizerdev/authorizer into feat/2fa

This commit is contained in:
Lakhan Samani
2022-08-03 23:20:37 +05:30

View File

@@ -5,6 +5,7 @@ import (
"time"
)
// GenerateOTP to generate random 6 digit otp
func GenerateOTP() string {
code := ""
codeLength := 6