Update generate_otp.go
This commit is contained in:
parent
587828b59b
commit
a890013317
|
@ -5,6 +5,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// GenerateOTP to generate random 6 digit otp
|
||||||
func GenerateOTP() string {
|
func GenerateOTP() string {
|
||||||
code := ""
|
code := ""
|
||||||
codeLength := 6
|
codeLength := 6
|
||||||
|
|
Loading…
Reference in New Issue
Block a user