ckdb - auth json reply should be authorise
This commit is contained in:
parent
64ff56cb63
commit
351545f1ab
@ -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__
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user