summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjschneider <jschneider@3ed937ae-f919-0410-9a43-8e6f19e4ba6e>2009-10-20 14:27:52 (GMT)
committerjschneider <jschneider@3ed937ae-f919-0410-9a43-8e6f19e4ba6e>2009-10-20 14:27:52 (GMT)
commit439f900665cd618c293fa13d2187d855308b733a (patch)
tree2e4c80a2b97bf02d9665e2b7dfeb0d61ce572e2c
parent3d0cfe25094212f309b2d90ab01300276d93af93 (diff)
downloadlarpe-439f900665cd618c293fa13d2187d855308b733a.zip
larpe-439f900665cd618c293fa13d2187d855308b733a.tar.gz
larpe-439f900665cd618c293fa13d2187d855308b733a.tar.bz2
Fix a little bug with the output_filters list overload
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@490 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
-rw-r--r--larpe/trunk/larpe/plugins/site_authentication/ciril_net_rh.py1
-rw-r--r--larpe/trunk/larpe/site_authentication.ptl3
2 files changed, 3 insertions, 1 deletions
diff --git a/larpe/trunk/larpe/plugins/site_authentication/ciril_net_rh.py b/larpe/trunk/larpe/plugins/site_authentication/ciril_net_rh.py
index 8e42186..417804c 100644
--- a/larpe/trunk/larpe/plugins/site_authentication/ciril_net_rh.py
+++ b/larpe/trunk/larpe/plugins/site_authentication/ciril_net_rh.py
@@ -7,6 +7,7 @@ from larpe.plugins import site_authentication_plugins
from larpe.site_authentication import SiteAuthentication
class CirilSiteAuthentication(SiteAuthentication):
+
plugin_name = 'ciril'
output_filters = ['output_ciril_net_rh']
diff --git a/larpe/trunk/larpe/site_authentication.ptl b/larpe/trunk/larpe/site_authentication.ptl
index cbea782..bb5f5a6 100644
--- a/larpe/trunk/larpe/site_authentication.ptl
+++ b/larpe/trunk/larpe/site_authentication.ptl
@@ -27,9 +27,10 @@ from federations import Federation
class SiteAuthentication:
+ output_filters = []
+
def __init__(self, host):
self.host = host
- self.output_filters = []
def federate(self, username, password, provider_id, cookies, select):
user = get_session().get_user(provider_id)