Support auto-login in staff client
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 11 Jan 2012 19:41:15 +0000 (14:41 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 11 Jan 2012 22:06:14 +0000 (17:06 -0500)
commitd18e97ff448c581c27605b6a2fe453e55191ce36
tree8162a83c59295da04edf842cb13a7a42e76e334f
parent37d0436d26c027547fe5306e77e2c8fb35714a0e
Support auto-login in staff client

By adding three new command line parameters:

-ILSuser - Username to log in with
-ILSpassword - Password to use
-ILShost - hostname to use

If, and only if, all three are specified *and* we think we have an already
registered workstation for the hostname do we trigger an auto login.

Otherwise we just fill everything in and wait for the user.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/main/main.js
Open-ILS/xul/staff_client/components/clh.js