It wouldn’t work for many sites as they often require email verification after a password change. It also wouldn’t work if there is a capcha.