Merge pull request #9340 from jigartarpara/patch-1
fix: Create User Email feature in User doctype
This commit is contained in:
commit
69b76bfbbf
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ frappe.ui.form.on('User', {
|
|||
email: frm.doc.email
|
||||
},
|
||||
callback: function(r) {
|
||||
if (r.message == undefined) {
|
||||
if (!Array.isArray(r.message)) {
|
||||
frappe.route_options = {
|
||||
"email_id": frm.doc.email,
|
||||
"awaiting_password": 1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue