diff options
Diffstat (limited to 'services/mailer/token/token.go')
-rw-r--r-- | services/mailer/token/token.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/mailer/token/token.go b/services/mailer/token/token.go index 8a5a762d6b..aa7b567188 100644 --- a/services/mailer/token/token.go +++ b/services/mailer/token/token.go @@ -6,13 +6,14 @@ package token import ( "context" crypto_hmac "crypto/hmac" - "crypto/sha256" "encoding/base32" "fmt" "time" user_model "code.gitea.io/gitea/models/user" "code.gitea.io/gitea/modules/util" + + "github.com/minio/sha256-simd" ) // A token is a verifiable container describing an action. |