diff --git a/yackage.cabal b/yackage.cabal
--- a/yackage.cabal
+++ b/yackage.cabal
@@ -1,5 +1,5 @@
 Name:                yackage
-Version:             0.2.0
+Version:             0.2.1
 Synopsis:            Personal Hackage replacement for testing new packages.
 Description:
     This package installs a yackage executable that runs a simplistic hackage-like server. It allows you to upload packages produced via cabal sdist and install them via cabal. The trick is to add the yackage repository to your cabal config file, with a line such as:
@@ -42,7 +42,7 @@
                          , wai
                          , transformers
                          , hamlet
-                         , yesod-form
+                         , yesod-form >= 0.2 && < 0.3
                          , http-types >= 0.6 && < 0.7
   else
     Buildable: False
diff --git a/yackage.hs b/yackage.hs
--- a/yackage.hs
+++ b/yackage.hs
@@ -133,12 +133,15 @@
                 \ 
 |]
 
+instance RenderMessage Yackage FormMessage where
+    renderMessage _ _ = defaultFormMessage
+
 postRootR = do
     y <- getYesod
     case ypassword y of
         Nothing -> return ()
         Just p -> do
-            p' <- runFormPost' $ maybeStringInput "password"
+            p' <- runInputPost $ iopt textField "password"
             unless (Just (T.pack p) == p') $ permissionDenied "Invalid password"
     (_, files) <- runRequestBody
     content <-
