summaryrefslogtreecommitdiffstats
path: root/funcweb
diff options
context:
space:
mode:
Diffstat (limited to 'funcweb')
-rw-r--r--funcweb/funcweb/config/app.cfg19
1 files changed, 7 insertions, 12 deletions
diff --git a/funcweb/funcweb/config/app.cfg b/funcweb/funcweb/config/app.cfg
index 504f018..119f6d2 100644
--- a/funcweb/funcweb/config/app.cfg
+++ b/funcweb/funcweb/config/app.cfg
@@ -19,12 +19,6 @@ tg.defaultview = "genshi"
# Allow every exposed function to be called as json,
# tg.allow_json = False
-# Suppress the inclusion of the shipped MochiKit version, which is rather outdated.
-# Attention: setting this to True and listing 'turbogears.mochikit' in 'tg.include_widgets'
-# is a contradiction. This option will overrule the default-inclusion to prevent version
-# mismatch bugs.
-# tg.mochikit_suppress = True
-
# List of Widgets to include on every page.
# for example ['turbogears.mochikit']
# tg.include_widgets = []
@@ -70,8 +64,9 @@ visit.on=True
visit.manager="sqlalchemy"
# Database class to use for visit tracking
-visit.saprovider.model = "funcweb.model.Visit"
-identity.saprovider.model.visit = "funcweb.model.VisitIdentity"
+visit.saprovider.model = "funcweb.identity.model.Visit"
+identity.saprovider.model.visit = "funcweb.identity.model.VisitIdentity"
+
# IDENTITY
# General configuration of the TurboGears Identity management module
@@ -85,7 +80,7 @@ identity.on=True
# option must be specified.
identity.failure_url="/login"
-identity.provider='sqlalchemy'
+identity.provider='pam'
# The names of the fields on the login form containing the visitor's user ID
# and password. In addition, the submit button is specified simply so its
@@ -107,9 +102,9 @@ identity.provider='sqlalchemy'
# The classes you wish to use for your Identity model. Remember to not use reserved
# SQL keywords for class names (at least unless you specify a different table
# name using sqlmeta).
-identity.saprovider.model.user="funcweb.model.User"
-identity.saprovider.model.group="funcweb.model.Group"
-identity.saprovider.model.permission="funcweb.model.Permission"
+identity.saprovider.model.user="funcweb.identity.model.User"
+identity.saprovider.model.group="funcweb.identity.model.Group"
+identity.saprovider.model.permission="funcweb.identity.model.Permission"
# The password encryption algorithm used when comparing passwords against what's
# stored in the database. Valid values are 'md5' or 'sha1'. If you do not