Commit 18315b11 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

Merge branch 'fix-aup-hide' into 'master'

Feat-disable-aup

See merge request rc/self-reg-form!24
parents dd82b66e 5b3ecd6d
......@@ -97,9 +97,11 @@
</div>
<br>
<div class="col-md-7 col-sm-7 my-col">
<!--
<br><input class="checks" id ="agree" type="checkbox" name="agree" value="agree" onchange= check() />Agree to proceed<br/>
--!>
<button class="btn btn-danger btn-md" id="cancel" name="cancel" type="button" onClick="renderDom('Account Creation Cancelled','{{ cancel_msg |safe }}', null)">Cancel</button>
<button class="btn btn-primary btn-md" disabled id="submit" name="submit" type="button" value="Submit" onclick="displayloading1();request_account()"> Create Account</button>
<button class="btn btn-primary btn-md" id="submit" name="submit" type="button" value="Submit" onclick="displayloading1();request_account()"> Create Account</button>
</div>
</form>
</div>
......
......@@ -72,13 +72,13 @@ def celery_create_account(json, session):
email= json['email']
fullname= json['fullname']
reason= json['reason']
aup= json['aup']
# aup= json['aup']
queuename= rc_util.encode_name(username)
print(time.strftime("%m-%d-%Y_%H:%M:%S") + '\tUser ' + username + ' added to queue')
send_msg('creating account', room)
print(username)
rc_util.add_account(username, queuename, email, fullname, reason, aup)
rc_util.add_account(username, queuename, email, fullname, reason)
print('sent account info')
print('Waiting for completion...')
rc_util.consume(queuename, routing_key=f'complete.{queuename}', callback=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