Fix response.json_ok -> response.meta.json_ok.

This commit is contained in:
voussoir 2020-12-26 13:22:19 -08:00
parent 8f9b4142a6
commit a4a1f39ede

View file

@ -124,7 +124,7 @@ function register_form(event)
function login_register_callback(response) function login_register_callback(response)
{ {
if (! response.json_ok) if (! response.meta.json_ok)
{ {
alert(JSON.stringify(response)); alert(JSON.stringify(response));
return; return;