Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4c6045c

Browse files
committedDec 24, 2014
update mail usage
1 parent 812c945 commit 4c6045c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎ptahcrowd/providers/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def verify(request):
216216
return HTTPFound(location=request.application_url)
217217

218218

219-
class VerifyTemplate(ptah.mail.MessageTemplate):
219+
class VerifyTemplate(ptah.mail.MailTemplate):
220220

221221
subject = 'Verify Your Account'
222222
template = 'ptahcrowd:templates/verify_email.txt'

‎ptahcrowd/resetpassword.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def changePassword(self):
132132
location=self.request.application_url)
133133

134134

135-
class ResetPasswordTemplate(ptah.mail.MessageTemplate):
135+
class ResetPasswordTemplate(ptah.mail.MailTemplate):
136136

137137
subject = const.PASSWORD_RESET_SUBJECT
138138
template = 'ptahcrowd:resetpasswordmail.lt'

‎ptahcrowd/validation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def principalRegistered(ev):
5757
ev.principal.validated = True
5858

5959

60-
class ValidationTemplate(ptah.mail.MessageTemplate):
60+
class ValidationTemplate(ptah.mail.MailTemplate):
6161

6262
subject = _('Activate Your Account')
6363
template = 'ptahcrowd:templates/validate_email.txt'

0 commit comments

Comments
 (0)
Please sign in to comment.