mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	hash password when setting new password
This commit is contained in:
		
							parent
							
								
									6250a212b3
								
							
						
					
					
						commit
						ce9be505fd
					
				|  | @ -2118,7 +2118,7 @@ class RestapiController { /* {{{ */ | |||
|             return; | ||||
|         } | ||||
| 
 | ||||
|         $operation = $account->setPwd($newPassword); | ||||
|         $operation = $account->setPwd(seed_pass_hash($newPassword)); | ||||
| 
 | ||||
|         if (!$operation){ | ||||
|             return $response->withJson(array('success'=>false, 'message'=>'', 'data'=>'Could not change password.'), 404); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann