]> source.dussan.org Git - gitea.git/commit
Fix random string generator (#384)
authorDenis Denisov <denji@users.noreply.github.com>
Tue, 20 Dec 2016 12:32:02 +0000 (14:32 +0200)
committerThomas Boerger <thomas@webhippie.de>
Tue, 20 Dec 2016 12:32:02 +0000 (13:32 +0100)
commit380e32e129d7a8868b9853e92e208a97e3ac125f
tree3b7ffc74a7f28f9c165ee4a780e52053d9f749fd
parent952587dbae987e05fb36f0ff56bf5eff92ae1080
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
models/migrations/migrations.go
models/org.go
models/user.go
models/user_mail.go
modules/base/tool.go
modules/base/tool_test.go
routers/admin/users.go
routers/api/v1/admin/user.go
routers/install.go
routers/user/auth.go
routers/user/setting.go