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 math math/big net/http strconv strings time unicode unicode/utf8 crypto/md5 html/template