webapp: Switch all forms to POST.
This commit is contained in:
parent
26374f40a9
commit
140774a8c8
25 changed files with 122 additions and 75 deletions
|
@ -93,11 +93,13 @@ needCloudRepoR = xmppPage $
|
|||
#endif
|
||||
|
||||
getXMPPR :: Handler RepHtml
|
||||
getXMPPR = postXMPPR
|
||||
postXMPPR :: Handler RepHtml
|
||||
#ifdef WITH_XMPP
|
||||
getXMPPR = xmppPage $ do
|
||||
postXMPPR = xmppPage $ do
|
||||
((result, form), enctype) <- lift $ do
|
||||
oldcreds <- liftAnnex getXMPPCreds
|
||||
runFormGet $ renderBootstrap $ xmppAForm $
|
||||
runFormPost $ renderBootstrap $ xmppAForm $
|
||||
creds2Form <$> oldcreds
|
||||
let showform problem = $(widgetFile "configurators/xmpp")
|
||||
case result of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue