diff --git a/app/templates/auth/SignUp.html b/app/templates/auth/SignUp.html index bc48390540c0ac03329d895d23aa56d22b42acc7..ce1361af66b3d40154f8d4ac496e5dbe96a10bae 100644 --- a/app/templates/auth/SignUp.html +++ b/app/templates/auth/SignUp.html @@ -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> diff --git a/tasks.py b/tasks.py index 3b00fce51e03b5f42b1d670cd251c312d3461758..f95dfbc2e3f513b8c57a500ac7f9be0b116f51fb 100644 --- a/tasks.py +++ b/tasks.py @@ -71,13 +71,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))