Permalink
Browse files

Issue warning in config if rpx-domain is empty.

  • Loading branch information...
1 parent 527e913 commit 2bbea8581208a4a4c438e783dfe79a334a1115b2 @jgm committed Mar 29, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 Network/Gitit/Config.hs
@@ -117,6 +117,8 @@ extractConfig cp = do
"darcs" -> Darcs
"mercurial" -> Mercurial
x -> error $ "Unknown repository type: " ++ x
+ when (authMethod == "rpx" && cfRPXDomain == "") $
+ liftIO $ logM "gitit" WARNING $ "rpx-domain is not set"
return $! Config{
repositoryPath = cfRepositoryPath

0 comments on commit 2bbea85

Please sign in to comment.