diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,8 @@
+## 1.7.1.1
+
+* Fix test and relax upper bound for persistent-2.10 / persistent-template-2.7
+* Replace use of deprecated `requireJsonBody`
+
 ## 1.7.1
 
 * Relax upper bounds to allow persistent-2.9 (for GHC 8.6 versions of Stackage nightly)
diff --git a/Yesod/Auth/HashDB.hs b/Yesod/Auth/HashDB.hs
--- a/Yesod/Auth/HashDB.hs
+++ b/Yesod/Auth/HashDB.hs
@@ -186,6 +186,10 @@
 #define liftHandler lift
 #endif
 
+#if !MIN_VERSION_yesod_core(1,6,11)
+#define requireInsecureJsonBody requireJsonBody
+#endif
+
 -- | Default strength used for passwords (see "Yesod.Auth.Util.PasswordStore"
 --   for details).
 defaultStrength :: Int
@@ -349,7 +353,7 @@
     let jsonContent = ((== "application/json") . simpleContentType) <$> ct
     UserPass mu mp <-
         case jsonContent of
-          Just True -> requireJsonBody
+          Just True -> requireInsecureJsonBody  -- We already know content type!
           _         -> liftHandler $ runInputPost $ UserPass
                        <$> iopt textField "username"
                        <*> iopt textField "password"
diff --git a/stack.yaml b/stack.yaml
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,4 +1,4 @@
-resolver: lts-12.19
+resolver: lts-13.16
 packages:
 - .
 extra-deps: []
diff --git a/test/TestSite.hs b/test/TestSite.hs
--- a/test/TestSite.hs
+++ b/test/TestSite.hs
@@ -6,6 +6,7 @@
 {-# LANGUAGE QuasiQuotes                #-}
 {-# LANGUAGE TemplateHaskell            #-}
 {-# LANGUAGE TypeFamilies               #-}
+{-# LANGUAGE UndecidableInstances       #-}
 
 module TestSite (
     User(..),
diff --git a/yesod-auth-hashdb.cabal b/yesod-auth-hashdb.cabal
--- a/yesod-auth-hashdb.cabal
+++ b/yesod-auth-hashdb.cabal
@@ -1,5 +1,5 @@
 name:            yesod-auth-hashdb
-version:         1.7.1
+version:         1.7.1.1
 license:         MIT
 license-file:    LICENSE
 author:          Patrick Brisbin, later changes Paul Rouse
@@ -38,7 +38,7 @@
                    , yesod-auth              >= 1.4.18     && < 1.7
                    , text                    >= 0.7
                    , yesod-persistent        >= 1.2
-                   , persistent              >= 2.1        && < 2.10
+                   , persistent              >= 2.1        && < 2.11
                    , yesod-form              >= 1.4        && < 1.7
                    , aeson
 
