src/Repositories/EloquentUserRepository.php
public function resetPassword($user, $password)
	{
		$user->password = $password;

		$user->reset_token = null;

		$user->save();
	}
public function resetPassword($user, $password)
	{
		$user->password = $password;

		$user->reset_token = null;

		$user->save();
	}
public function resetPassword ( $ user , $ password ) { $ user -> password = $ password ; $ user -> reset_token = null ; $ user -> save ( ) ; }
Reset the password of the given user.

@author	Andrea Marco Sartori
@param	User	$user
@param	string	$password
@return	boolean
Reset the password of the given user .