redirect to FirstRepositoryR
This makes the new POST form work, since otherwise it would try to POST ConfigurationR, which is not supported.
This commit is contained in:
parent
6ce4429c5e
commit
1d4ba882b3
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ import Assistant.XMPP.Client
|
|||
{- The main configuration screen. -}
|
||||
getConfigurationR :: Handler RepHtml
|
||||
getConfigurationR = ifM (inFirstRun)
|
||||
( getFirstRepositoryR
|
||||
( redirect FirstRepositoryR
|
||||
, page "Configuration" (Just Configuration) $ do
|
||||
#ifdef WITH_XMPP
|
||||
xmppconfigured <- liftAnnex $ isJust <$> getXMPPCreds
|
||||
|
|
Loading…
Add table
Reference in a new issue