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( cell.append(
Paragraph( Paragraph(
_("Password: %s") _("Password: %s")
% (user.firstpassword), stylesheet['Monotype'])) % (user.default_password), stylesheet['Monotype']))
cell.append(Spacer(0, 0.5 * cm)) cell.append(Spacer(0, 0.5 * cm))
cell.append( cell.append(
Paragraph( Paragraph(
@ -321,7 +321,7 @@ class UserImportView(FormView):
class ResetPasswordView(RedirectView, SingleObjectMixin, QuestionMixin): 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' permission_required = 'participant.can_manage_participant'
model = User model = User