Koha/koha-tmpl/intranet-tmpl/prog/en
Fridolin Somers f4870f6666 Bug 14599 - Saved auth login and password are used in patron creation from
If one save the login and password used to authenticate in staff interface, when creating a new patron, those login and password are filled in the corresponding inputs in the form.
This behaviour is awkward from web browser.

A trick is provided by http://stackoverflow.com/questions/10738090/why-firefox-autocomplete-even-with-different-input-name

I found that the best way is to use an hidden disabled input between userid and password.

Test plan :

- Log into Koha
- Allow the browser to save the userid/password
- Be sure that you have only one userid/password for this Koha
- Loggout
- Re log to check the browser autocomplets the authentication form
- Create a new patron
=> Without patch your saved userid/password have been added to the form
=> With patch your saved userid/password have not been added to the form

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This is not elegant but it works.
Note that the problem does not exist with Chromium

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2015-12-11 15:30:37 +00:00
..
css Bug 14190: Scale search boxes in staff head 2015-10-27 16:43:23 -03:00
data
includes Bug 12072: Make datepicker and templates to be aware of dmydot format 2015-11-19 13:15:19 -03:00
js Bug 13024 [QA Followup] - Add nonpublic note to relatives' checkouts 2015-12-04 14:47:57 +00:00
lib/yui
modules Bug 14599 - Saved auth login and password are used in patron creation from 2015-12-11 15:30:37 +00:00
xslt Bug 15102: Fix capitalization for some strings on XSLT detail pages 2015-11-11 11:09:12 -03:00
columns.def Bug 14130: Update columns.def 2015-05-22 17:02:21 -03:00