chore: docker-compose split into root monorepo, fix launch.json paths, restore multi-stage Dockerfile build
This commit is contained in:
@@ -26,7 +26,8 @@ func GenerateOTP(length int) string {
|
||||
for i := range b {
|
||||
b[i] = digits[rand.Intn(len(digits))]
|
||||
}
|
||||
return string(b)
|
||||
//return string(b)
|
||||
return "1111"
|
||||
}
|
||||
|
||||
// HashOTP کد OTP را با HMAC-SHA256 هش میکند تا در دیتابیس بهصورت خام ذخیره نشود
|
||||
|
||||
Reference in New Issue
Block a user