Merge branch 'feat/2fa' of https://github.com/authorizerdev/authorizer into feat/2fa
This commit is contained in:
commit
ebc11906ef
|
@ -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