mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
Password fix on add user
This commit is contained in:
@@ -105,7 +105,7 @@ def send_welcome_mail(email, args):
|
|||||||
from webnotes.utils.email_lib import sendmail_md
|
from webnotes.utils.email_lib import sendmail_md
|
||||||
args.update({
|
args.update({
|
||||||
'company': webnotes.conn.get_default('company'),
|
'company': webnotes.conn.get_default('company'),
|
||||||
'password': password,
|
'password': args.get('password'),
|
||||||
'account_url': webnotes.conn.get_default('account_url')
|
'account_url': webnotes.conn.get_default('account_url')
|
||||||
})
|
})
|
||||||
sendmail_md(pr.email, subject="Welcome to ERPNext", msg=welcome_txt % args)
|
sendmail_md(pr.email, subject="Welcome to ERPNext", msg=welcome_txt % args)
|
||||||
|
|||||||
Reference in New Issue
Block a user