Permalink
Browse files

Setting authmetadata to None to disable it is a cleaner interface tha…

…n setting it to a fake object
  • Loading branch information...
1 parent 0ebb438 commit 69c1f773d677b45ea544491e35399126db107425 @amol- amol- committed May 4, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 devtools/templates/turbogears/+package+/config/app_cfg.py_tmpl
@@ -117,9 +117,9 @@ base_config.sa_auth.authmetadata = ApplicationAuthMetadata(base_config.sa_auth)
#base_config.sa_auth.authenticators = [('myauth', SomeAuthenticator()]
# You can add more repoze.who metadata providers to fetch
-# user metadata. Remember to set base_config.sa_auth.authmetadata
-# to TGAuthMetadata() to disable authmetadata and use only your own
-# metadata providers
+# user metadata.
+# Remember to set base_config.sa_auth.authmetadata to None
+# to disable authmetadata and use only your own metadata providers
#base_config.sa_auth.mdproviders = [('myprovider', SomeMDProvider()]
# override this if you would like to provide a different who plugin for

0 comments on commit 69c1f77

Please sign in to comment.