mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
cleaned up profile settings
This commit is contained in:
@@ -49,7 +49,8 @@ def get_user_details(arg=None):
|
||||
"""
|
||||
Returns user first name, last name and bio
|
||||
"""
|
||||
return webnotes.conn.sql("select first_name, last_name, bio from tabProfile where name=%s", webnotes.user.name, as_dict=1)[0]
|
||||
return webnotes.conn.sql("""select first_name, last_name, bio, email_signature
|
||||
from tabProfile where name=%s""", webnotes.user.name, as_dict=1)[0]
|
||||
|
||||
@webnotes.whitelist()
|
||||
def set_user_details(arg=None):
|
||||
|
||||
Reference in New Issue
Block a user