else
if test -d $SRC_DIR/../.git ; then
echo "have Git repository."
- BUILD=`/usr/bin/git log -1 --pretty=%H . `
+ BUILD=`/usr/bin/git log -1 --pretty=%h . `
echo "This code base git-revision: $BUILD"
CAN_BUILD_SVN_REVISION="yes"
else
if ((CCC->user.axlevel == AxDeleted) && (CCC->user.usernum))
purge_user(CCC->user.fullname);
+ /* Clear out the user record in memory so we don't behave like a ghost */
+ memset(&CCC->user, 0, sizeof(struct ctdluser));
+
/* Free any output buffers */
unbuffer_output();
}
+
/*
* Validate a password on the host unix system by talking to the chkpwd daemon
*/
int rv = 0;
if (IsEmptyStr(pass)) {
- CtdlLogPrintf(CTDL_DEBUG, "refusing to check empty password for uid=%d using chkpwd...\n", uid);
+ CtdlLogPrintf(CTDL_DEBUG, "Refusing to chkpwd for uid=%d with empty password.\n", uid);
return 0;
}