]> git.evergreen-ils.org Git - Evergreen.git/commit
In oils_auth.c: changed the treatment of inactive accounts.
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 18 Jul 2009 12:07:49 +0000 (12:07 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 18 Jul 2009 12:07:49 +0000 (12:07 +0000)
commit38d2cdb22468a6da5b6201ca7f34f2acfd9e5384
treea566f1954d869fb8b75a1fde624639b3c9a5e0d1
parentf88214f8643818e34e369df42ce521eac5bf1e8d
In oils_auth.c: changed the treatment of inactive accounts.

Previously, if someone tried to log on to an inactive account,
the error message reported to the client would identify the
account as inactive, without regard to the password.

Now the message identifies the account as inactive only if the
password matches.  Otherwise it reports it simply as a failure.

Also: changed the barcode to a pointer to const, pointing to
an existing string, rather than allocating a separate copy
that we have to free later.

Also: tinkered with a couple of info messages to avoid
invoking undefined behavior when barcode is NULL.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13623 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_auth.c