[open-ils-commits] r12239 - trunk/Open-ILS/src/c-apps (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Feb 19 17:45:18 EST 2009
Author: dbs
Date: 2009-02-19 17:45:13 -0500 (Thu, 19 Feb 2009)
New Revision: 12239
Modified:
trunk/Open-ILS/src/c-apps/oils_auth.c
Log:
Small correction to documentation (password value is md5sum'ed before being concatenated to init seed value).
Fix typo in log entry (it's about time timetouts was fixed)
Modified: trunk/Open-ILS/src/c-apps/oils_auth.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_auth.c 2009-02-19 18:48:56 UTC (rev 12238)
+++ trunk/Open-ILS/src/c-apps/oils_auth.c 2009-02-19 22:45:13 UTC (rev 12239)
@@ -44,7 +44,7 @@
"Completes the authentication process. Returns an object like so: "
"{authtoken : <token>, authtime:<time>}, where authtoken is the login "
"token and authtime is the number of seconds the session will be active"
- "PARAMS(username, md5sum( seed + password ), type, org_id ) "
+ "PARAMS(username, md5sum( seed + md5sum( password ) ), type, org_id ) "
"type can be one of 'opac','staff', or 'temp' and it defaults to 'staff' "
"org_id is the location at which the login should be considered "
"active for login timeout purposes" , 1, 0 );
@@ -228,7 +228,7 @@
jsonObjectFree(value_obj);
- osrfLogInfo(OSRF_LOG_MARK, "Set default auth timetouts: opac => %d : staff => %d : temp => %d",
+ osrfLogInfo(OSRF_LOG_MARK, "Set default auth timeouts: opac => %d : staff => %d : temp => %d",
_oilsAuthOPACTimeout, _oilsAuthStaffTimeout, _oilsAuthOverrideTimeout );
}
More information about the open-ils-commits
mailing list