fixed first-time-pdf
This commit is contained in:
parent
423f04d0be
commit
38d53bbb92
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user