Support auto-login in staff client user/tsbere/login_command_line_options
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 11 Jan 2012 19:41:15 +0000 (14:41 -0500)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 11 Jan 2012 20:12:16 +0000 (15:12 -0500)
commitbf19815820f0137a411ed0ce58de41e20aed0408
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>
Open-ILS/xul/staff_client/chrome/content/main/main.js
Open-ILS/xul/staff_client/components/clh.js