All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 475d93a3 authored by Leigh B Stoller's avatar Leigh B Stoller

Send logs to TBLOGS, and apt-ops. Fix minor bug.

parent dae18a25
......@@ -175,9 +175,11 @@ else {
}
}
# Email record.
AuditStart(0, undef)
if (! $debug);
# Email record.
if (! $debug) {
AuditStart(0, undef, LIBAUDIT_LOGTBLOGS()|LIBAUDIT_LOGONLY());
AddAuditInfo("cc", "apt-logs\@flux.utah.edu");
}
# Connect to the SA DB.
DBConnect(GENISA_DBNAME());
......@@ -316,7 +318,8 @@ if (exists($xmlparse->{'attribute'}->{"sshkey"}) &&
}
}
}
chomp($sshkey);
chomp($sshkey)
if (defined($sshkey));
#
# See if the GeniUser exists. Create if not, but that means we
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment