You can only recover the password of the website, you can’t change the password of the game here
To reset the password to login into the game client, you need to use this command while logged in:

.account password $old_password $new_password $new_password

Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.