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