Update dependencies

This commit is contained in:
Егор Кирющенко authored and Максим Мержанов committed 2020-11-24 14:31:24 +03:00
1 parent 23013ef033
commit ffab32fcff
7 files changed
+305 -86

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ func (s jwtService) CreateApplication(appId int32, expTime int64) (string, error
func (jwtService) getSalt() string {
const randIntSize = 30
const minLen = 10
randomInt := mathRand.Intn(randIntSize)
randomInt := mathRand.Intn(randIntSize) //nolint:gosec
salt := make([]byte, randomInt+minLen)
_, _ = rand.Read(salt)