fixed first-time-pdf

This commit is contained in:
Oskar Hahn 2012-09-11 19:30:12 +02:00
parent 423f04d0be
commit 38d53bbb92

View File

@ -269,7 +269,7 @@ class ParticipantsPasswordsPDF(PDFView):
cell.append(
Paragraph(
_("Password: %s")
% (user.firstpassword), stylesheet['Monotype']))
% (user.default_password), stylesheet['Monotype']))
cell.append(Spacer(0, 0.5 * cm))
cell.append(
Paragraph(
@ -321,7 +321,7 @@ class UserImportView(FormView):
class ResetPasswordView(RedirectView, SingleObjectMixin, QuestionMixin):
"""
Set the Passwort for a user to his firstpassword.
Set the Passwort for a user to his default password.
"""
permission_required = 'participant.can_manage_participant'
model = User