Commit 867dccb1 authored by Leigh Stoller's avatar Leigh Stoller

Do not send out warnings to nonlocal users, about expiring certificate.

parent 24de8094
#!/usr/bin/perl -w
#
# Copyright (c) 2000-2013 University of Utah and the Flux Group.
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -428,7 +428,7 @@ $query_result =
" from user_sslcerts as c ".
"left join users as u on u.uid_idx=c.uid_idx ".
"left join user_stats as s on s.uid_idx=u.uid_idx ".
"where u.status='active' and ".
"where u.status='active' and u.nonlocal_id is null and ".
" revoked is null and warned is null and ".
" s.last_activity is not null and ".
" (UNIX_TIMESTAMP(now()) > UNIX_TIMESTAMP(expires) || ".
......
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