Imports code.gitea.io/gitea/modules/log code.gitea.io/gitea/modules/setting github.com/Unknwon/com github.com/gogits/chardet github.com/Unknwon/i18n Standard library imports crypto/rand crypto/sha1 encoding/base64 encoding/hex fmt io math math/big net/http strconv strings time unicode/utf8 unicode crypto/md5 html/template