Commit 0f1bcefc authored by Daniel Stan's avatar Daniel Stan

PassReset: traite attribut cn en unicode

parent 6af23811
......@@ -83,7 +83,7 @@ class PasswordResetFormView(FormView):
c = {
'from' : 'cableurs@crans.org',
'to': str((user["mailExt"] or user["mail"])[0]),
'name': str(user["cn"][0]),
'name': unicode(user["cn"][0]),
'protocol': 'https',
'domain': request.META['HTTP_HOST'],
'uid': urlsafe_base64_encode(force_bytes(user["aid"][0])),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment