[root] userClass is a multivalued field, it must contain a list

This commit is contained in:
Benjamin Dauvergne 2010-11-23 13:56:37 +01:00
parent 577af5611c
commit e9079cafc8
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ RecaptchaOptions = { "theme" : "white", "lang" : "fr" };
str(authentic.root.TextsDirectory.get_html_text('register')), vars)
def pre_registration_callback(self, identity):
identity.userClass = 'GRAND.PUBLIC'
identity.userClass = [ 'GRAND.PUBLIC' ]
identity.name = identity.givenName + ' ' + identity.sn
def registration_callback(self, identity):