[root] userClass is a multivalued field, it must contain a list
This commit is contained in:
parent
577af5611c
commit
e9079cafc8
|
@ -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):
|
||||
|
|
Reference in New Issue