summaryrefslogtreecommitdiffstats
path: root/authentic/admin/settings.ptl
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-07-27 14:34:02 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-07-27 14:34:02 (GMT)
commit93f86965594b3b9234daecd3921504747ced7da1 (patch)
treeaee3c24a917c7dfcf2df029193a10b31e9547432 /authentic/admin/settings.ptl
parenta8edfe97ea30ab2e925ed17b3dbfa11a2900b147 (diff)
downloadauthentic-old-93f86965594b3b9234daecd3921504747ced7da1.zip
authentic-old-93f86965594b3b9234daecd3921504747ced7da1.tar.gz
authentic-old-93f86965594b3b9234daecd3921504747ced7da1.tar.bz2
[Settings] fix exported_attributes field in new liberty provider form
- When creating a new provider there is no pre-existing configuration, so default content for the field is the empty string. - the field name is exported_attributes not 'Exported Attributes'
Diffstat (limited to 'authentic/admin/settings.ptl')
-rw-r--r--authentic/admin/settings.ptl4
1 files changed, 2 insertions, 2 deletions
diff --git a/authentic/admin/settings.ptl b/authentic/admin/settings.ptl
index 8ea9d61..62b5f8c 100644
--- a/authentic/admin/settings.ptl
+++ b/authentic/admin/settings.ptl
@@ -137,9 +137,9 @@ class LibertyProvidersDir(Directory):
value = False,
hint = _('Only used for SAML 2.0.'))
- form.add(StringWidget, 'Exported attributes',
+ form.add(StringWidget, 'exported_attributes',
title = _('Exported attributes'),
- value = self.lp.get('exported_attributes', ''),
+ value = '',
hint = _('Space separated list of words'))
form.add_submit('submit', _('Submit'))