Bug 11077: remove uninitialized value $pki_field warning
authorTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 18 Oct 2013 00:41:43 +0000 (17:41 -0700)
committerFridolin SOMERS <fridolin.somers@biblibre.com>
Fri, 13 Dec 2013 15:37:24 +0000 (16:37 +0100)
commit8c7153df0fc99167dc701772f6ede6c90227e4d4
treeb225625d81424f806a6bbebb1fbdc96245596c79
parentd0ba676864eb2a55776d8dbd02d2403f9fa74a4b
Bug 11077: remove uninitialized value $pki_field warning

During login at the Staff interface you get warnings in the logs
regarding an uninitialized value for the $pki_field variable.

To test:
- tail -f /path/to/your-intranet-logs
- Point your browser to your staff login page
- Login
- Three warnings are showed
- Apply the patch
- Log out
- Log in
- No new warnings, and you can still log in.

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Petter Goksoyr Asen <boutrosboutrosboutros@gmail.com>
Followed test plan; it works as advertised.
Also works when I deleted AllowPKIAuth system pref.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit ce5ab3b31457793815a2f49bc8287fdcbd0dd3c5)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
C4/Auth.pm