ckdb - auth json reply should be authorise

This commit is contained in:
kanoi 2014-10-07 11:55:30 +11:00
parent 64ff56cb63
commit 351545f1ab
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@
#define DB_VLOCK "1"
#define DB_VERSION "0.9.2"
#define CKDB_VERSION DB_VERSION"-0.500"
#define CKDB_VERSION DB_VERSION"-0.501"
#define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__

View File

@ -1803,7 +1803,7 @@ static char *cmd_auth_do(PGconn *conn, char *cmd, char *id, char *by,
}
snprintf(reply, siz,
"ok.auth={\"secondaryuserid\":\"%s\","
"ok.authorise={\"secondaryuserid\":\"%s\","
"\"difficultydefault\":%d}",
users->secondaryuserid, workers->difficultydefault);
LOGDEBUG("%s.%s", id, reply);