switch to runFormPostNoToken to work around strange yesod bug

This commit is contained in:
Joey Hess 2013-10-14 12:18:04 -04:00
parent 25462f125d
commit 4bb8720d85
11 changed files with 19 additions and 19 deletions

View file

@ -59,7 +59,7 @@ runFsckForm new activity = case activity of
go (Schedule r t) d ru = do
u <- liftAnnex getUUID
repolist <- liftAssistant (getrepolist ru)
runFormPost $ \msg -> do
runFormPostNoToken $ \msg -> do
(reposRes, reposView) <- mreq (selectFieldList repolist) "" (Just ru)
(durationRes, durationView) <- mreq intField "" (Just $ durationSeconds d `quot` 60 )
(timeRes, timeView) <- mreq (selectFieldList times) "" (Just t)