Truncate inputs after the passwd form is submitted.