Readd accidentally removed

This commit is contained in:
Jeremy Zhang 2018-08-06 04:16:53 +00:00
parent 3d5503da94
commit cc2ea3d68b

View File

@ -1515,7 +1515,7 @@
$("#submit-unauthenticated-captcha-btn").click(function(){
lock_login_fields();
var usr = create_unauthenticated_user($("#").val(), grecaptcha.getResponse());
var usr = create_unauthenticated_user($("#custom_username_field").val(), grecaptcha.getResponse());
usr.done(function(data) {
grecaptcha.reset();
setVisitorMode(false);