From d619fc1279c06b3ad0f7883e368c795c39c0c7e8 Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Tue, 7 Apr 2020 14:48:21 -0500
Subject: [PATCH] Update add_account in rc_util

---
 rc_util.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rc_util.py b/rc_util.py
index 4281437..2b39ae5 100644
--- a/rc_util.py
+++ b/rc_util.py
@@ -4,11 +4,12 @@ import json
 rc_rmq = RCRMQ({'exchange': 'RegUsr', 'exchange_type': 'topic'})
 tasks = {'ohpc_account': None, 'ood_account': None, 'slurm_account': None}
 
-def add_account(username, full='', reason=''):
+def add_account(username, email, full='', reason=''):
   rc_rmq.publish_msg({
     'routing_key': 'request.' + username,
     'msg': {
       "username": username,
+      "email": email,
       "fullname": full,
       "reason": reason
     }
-- 
GitLab