diff options
Diffstat (limited to 'internal/route/user/auth.go')
-rw-r--r-- | internal/route/user/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/user/auth.go b/internal/route/user/auth.go index be23b78d..852c9679 100644 --- a/internal/route/user/auth.go +++ b/internal/route/user/auth.go @@ -209,7 +209,7 @@ func LoginTwoFactorPost(c *context.Context) { return } - t, err := db.GetTwoFactorByUserID(userID) + t, err := db.TwoFactors.GetByUserID(userID) if err != nil { c.Error(err, "get two factor by user ID") return |