Skip to content

Commit 5f54883

Browse files
committed
Fix handle_cert_mail.py to set the username correctly
1 parent 92edd3b commit 5f54883

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

handle_cert_mail.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sys
55
import ldap
66
import ldap.filter
7-
from scripts import cert, log
7+
from scripts import cert, log, auth
88
from scriptspony import vhosts
99

1010
BLACKLIST = ["scripts.mit.edu", "notfound.example.com"]
@@ -81,4 +81,5 @@ def main():
8181

8282

8383
if __name__ == "__main__":
84+
auth.set_user_from_parent_process()
8485
main()

0 commit comments

Comments
 (0)