0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 00:12:52 +01:00
gitea/routers/api
Denis Denisov 380e32e129 Fix random string generator (#384)
* Remove unused custom-alphabet feature of random string generator

Fix random string generator

Random string generator should return error if it fails to read random data via crypto/rand

* Fixes variable (un)initialization mixed assign
Update test GetRandomString
2016-12-20 13:32:02 +01:00
..
v1 Fix random string generator (#384) 2016-12-20 13:32:02 +01:00