diff --git a/service/user/login.go b/service/user/login.go index 88ef725..f9ebd98 100644 --- a/service/user/login.go +++ b/service/user/login.go @@ -6,6 +6,7 @@ import ( "github.com/HFO4/cloudreve/pkg/cache" "github.com/HFO4/cloudreve/pkg/email" "github.com/HFO4/cloudreve/pkg/hashid" + "github.com/HFO4/cloudreve/pkg/recaptcha" "github.com/HFO4/cloudreve/pkg/serializer" "github.com/HFO4/cloudreve/pkg/util" "github.com/gin-gonic/gin" @@ -13,6 +14,7 @@ import ( "github.com/pquerna/otp/totp" "net/url" "strings" + "time" ) // UserLoginService 管理用户登录的服务