ckdb - consistent auth messages

This commit is contained in:
kanoi 2014-06-17 21:51:48 +10:00
parent 13fde6642e
commit 53eb587b18

View File

@ -3709,11 +3709,11 @@ static char *cmd_auth(char *cmd, char *id, tv_t *now, char *by, char *code, char
PQfinish(conn);
if (!secuserid) {
LOGDEBUG("%s.bad.DBE", id);
return strdup("bad.DBE");
LOGDEBUG("%s.failed.DBE", id);
return strdup("failed.DBE");
}
LOGDEBUG("%s.ok.added, %s", id, secuserid);
LOGDEBUG("%s.ok.auth added for %s", id, secuserid);
snprintf(reply, siz, "ok.%s", secuserid);
return strdup(reply);
}