Jonathan Druart
b2c7a37906
This patch adds some JavaScript to the patron entry form which adds a
hint if the logged-in librarian tries to change their own username. It
warns them that they will be logged out.
To test, apply the patch and log into the staff interface.
- Locate and edit your own patron record.
- In the "OPAC/Staff interface login" section, change the value in the
username field. When focus leaves that form field a hint should
appear, "You will be logged out if you modify your username."
- Change the username field back to your original username. The hint
should disappear.
- Confirm that submitting a username change works correctly: You should
be logged out, and when you log in again your username should be
updated.
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit
|
||
---|---|---|
.. | ||
accountline-details.tt | ||
apikeys.tt | ||
boraccount.tt | ||
deletemem.tt | ||
discharge.tt | ||
discharges.tt | ||
files.tt | ||
holdshistory.tt | ||
housebound.tt | ||
ill-requests.tt | ||
mancredit.tt | ||
maninvoice.tt | ||
member-flags.tt | ||
member-password.tt | ||
member.tt | ||
memberentrygen.tt | ||
members-update.tt | ||
merge-patrons.tt | ||
moremember-brief.tt | ||
moremember-print.tt | ||
moremember.tt | ||
notices.tt | ||
pay.tt | ||
paycollect.tt | ||
printfeercpt.tt | ||
printinvoice.tt | ||
printnotice.tt | ||
purchase-suggestions.tt | ||
readingrec.tt | ||
recallshistory.tt | ||
routing-lists.tt | ||
search.tt | ||
statistics.tt | ||
two_factor_auth.tt | ||
update-child.tt |