Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Move to crypto.rand

Acho Arnold2cffc0a43358
diff --git a/api/pkg/repositories/gorm_user_repository.go b/api/pkg/repositories/gorm_user_repository.go
index ddb5a5dd..f6dceb26 100644
--- a/api/pkg/repositories/gorm_user_repository.go
+++ b/api/pkg/repositories/gorm_user_repository.go
@@ -2,10 +2,10 @@ package repositories
import (
"context"
+ "crypto/rand"
"encoding/base64"
"errors"
"fmt"
- "math/rand"
"time"
"github.com/cockroachdb/cockroach-go/v2/crdb/crdbgorm"