Small correction to documentation (password value is md5sum'ed before being concatena...
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Feb 2009 22:45:13 +0000 (22:45 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Feb 2009 22:45:13 +0000 (22:45 +0000)
Fix typo in log entry (it's about time timetouts was fixed)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12239 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/oils_auth.c

index 0dd9805..f74dcd6 100644 (file)
@@ -44,7 +44,7 @@ int osrfAppInitialize() {
                "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 @@ static double oilsAuthGetTimeout( const jsonObject* userObj, const char* type, d
                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 );
        }