- user_update password change fixed
This commit is contained in:
		
							parent
							
								
									7c533f91f0
								
							
						
					
					
						commit
						b8fd7effaa
					
				@ -773,7 +773,7 @@ function create_update_user(ReqHandler &$rh, array $params): string
 | 
			
		||||
 | 
			
		||||
                // password replacement, if requested
 | 
			
		||||
                if ($password !== "") {
 | 
			
		||||
                    $tuser->changePassword(password_hash($password, PASSWORD_DEFAULT), "", false);
 | 
			
		||||
                    $tuser->changePassword($password, "", false);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                $tuser->storeMods();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user