aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/beweb
diff options
context:
space:
mode:
Diffstat (limited to 'Bugs-Everywhere-Web/beweb')
-rw-r--r--Bugs-Everywhere-Web/beweb/app.cfg16
-rw-r--r--Bugs-Everywhere-Web/beweb/model.py2
2 files changed, 9 insertions, 9 deletions
diff --git a/Bugs-Everywhere-Web/beweb/app.cfg b/Bugs-Everywhere-Web/beweb/app.cfg
index 0035ffb..024fa8a 100644
--- a/Bugs-Everywhere-Web/beweb/app.cfg
+++ b/Bugs-Everywhere-Web/beweb/app.cfg
@@ -31,7 +31,7 @@
# --------------
# Enable Visit tracking
-# visit.on=False
+visit.on=True
# Number of minutes a visit may be idle before it expires.
# visit.timeout=20
@@ -57,29 +57,29 @@
# --------
# Switch to turn on or off the Identity management module
-# identity.on=False
+identity.on=True
# [REQUIRED] URL to which CherryPy will internally redirect when an access
# control check fails. If Identity management is turned on, a value for this
# option must be specified.
-# identity.failure_url=None
+identity.failure_url="/login"
# The IdentityProvider to use -- defaults to the SqlObjectIdentityProvider which
# pulls User, Group, and Permission data out of your model database.
-# identity.provider="sqlobject"
+identity.provider="sqlobject"
# 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
# existence may be stripped out prior to passing the form data to the target
# controller.
-# identity.form.user_name="user_name"
-# identity.form.password="password"
-# identity.form.submit="login"
+identity.form.user_name="user_name"
+identity.form.password="password"
+identity.form.submit="login"
# What sources should the identity provider consider when determining the
# identity associated with a request? Comma separated list of identity sources.
# Valid sources: form, visit, http_auth
-# identity.source="form,http_auth,visit"
+identity.source="form,http_auth,visit"
# SqlObjectIdentityProvider
diff --git a/Bugs-Everywhere-Web/beweb/model.py b/Bugs-Everywhere-Web/beweb/model.py
index e20d1ce..33d2d2f 100644
--- a/Bugs-Everywhere-Web/beweb/model.py
+++ b/Bugs-Everywhere-Web/beweb/model.py
@@ -1,7 +1,7 @@
from sqlobject import *
from turbogears.database import PackageHub
# Uncomment the following line if you wish to use Identity and SO_Provider
-# from turbogears.identity.soprovider import TG_User, TG_Group, TG_Permission
+from turbogears.identity.soprovider import TG_User, TG_Group, TG_Permission
hub = PackageHub("beweb")
__connection__ = hub