mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
[fix] encrypted password in Hub User child record by frappe/frappe#6048
- use save() instead of insert()
This commit is contained in:
@@ -65,7 +65,7 @@ class MarketplaceSettings(Document):
|
|||||||
'password': hub_user.get('password')
|
'password': hub_user.get('password')
|
||||||
})
|
})
|
||||||
|
|
||||||
self.insert()
|
self.save()
|
||||||
|
|
||||||
def get_hub_user(self, user):
|
def get_hub_user(self, user):
|
||||||
'''Return the Hub User doc from the `users` table if password is set'''
|
'''Return the Hub User doc from the `users` table if password is set'''
|
||||||
|
|||||||
Reference in New Issue
Block a user