we were previously expiring accounts for which an associated Unix account no longer exists
if running in autologin mode. This is now the ONLY condition under which an account will
be expired in this mode.
char *transcript = NULL;
lprintf(CTDL_DEBUG, "PurgeUsers() called\n");
+#ifdef ENABLE_AUTOLOGIN
+ ForEachUser(do_uid_user_purge, NULL);
+#else
if (config.c_userpurge > 0) {
ForEachUser(do_user_purge, NULL);
}
- ForEachUser(do_uid_user_purge, NULL);
+#endif
transcript = malloc(SIZ);
strcpy(transcript, "The following users have been auto-purged:\n");