Commit bcc5650f authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

Added updated_by field

Variable added to identify person who updated user state
parent 4d5779f7
Pipeline #6112 failed with stage
......@@ -90,11 +90,12 @@ def celery_certify_account(json, session):
email= json['email']
fullname= json['fullname']
queuename= rc_util.encode_name(username)
updated_by= f'{username}@login005'
print("CERTIFY : "+time.strftime("%m-%d-%Y_%H:%M:%S") + '\tUser ' + username + ' added to queue')
send_msg('certifying account', room)
rc_util.certify_account(username, queuename, 'ok', 'all')
rc_util.certify_account(username, queuename, 'ok', 'all', updated_by)
print('sent account info')
print('Waiting for certification...')
rc_util.consume(queuename, routing_key=f'certified.{queuename}', callback=certify_gen_f(room))
Supports Markdown
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