Password change notification email had hard coded word ERPNext in it. I have changed it to use startup.product_name instead.
This commit is contained in:
parent
0d604eeb66
commit
a0bbca4f2f
1 changed files with 4 additions and 3 deletions
|
|
@ -148,11 +148,12 @@ To login to %(product)s, please go to:
|
|||
Thank you,<br>
|
||||
%(user_fullname)s
|
||||
"""
|
||||
self.send_login_mail("Your ERPNext password has been reset", txt, password)
|
||||
import startup
|
||||
self.send_login_mail("Your " +startup.product_name + " password has been reset", txt, password)
|
||||
|
||||
def send_welcome_mail(self, password):
|
||||
"""send welcome mail to user with password and login url"""
|
||||
import startup
|
||||
|
||||
|
||||
txt = """
|
||||
## %(company)s
|
||||
|
|
@ -329,4 +330,4 @@ def sign_up(email, full_name):
|
|||
profile.ignore_permissions = True
|
||||
profile.insert()
|
||||
return _("Registration Details Emailed.")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue