[fix] encrypted password in Hub User child record by frappe/frappe#6048
- use save() instead of insert()
This commit is contained in:
		
							parent
							
								
									68129df74c
								
							
						
					
					
						commit
						a094c0f3f1
					
				| @ -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''' | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user