Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth: Implement special handling of password fields on XML POST
The Cisco AnyConnect client exhibits some quirky behavior on fields with certain names: For "answer", "whichpin", and "new_password", the field is renamed to "password" in the submission. For "verify_pin" and "verify_password", the field is omitted entirely. One might expect the client to perform a comparison to see if the first password/PIN field matches the verify_* field, but in my testing, I didn't actually see it doing so. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information