Fix user namespace creation on new-site, fails to login (#4717)
This commit is contained in:
parent
6e1fa60ccb
commit
b54cf5d282
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
* frappe.user.first_name("Rahul Malhotra")
|
||||
* // returns "Rahul"
|
||||
*/
|
||||
frappe.provide('frappe.user')
|
||||
frappe.user.first_name = user => frappe.user.full_name(user).split(" ")[0]
|
||||
|
||||
// frappe.ui extensions
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue