diff --git a/frontends/etiquette_flask/templates/login.html b/frontends/etiquette_flask/templates/login.html index 9889af3..8d407d3 100644 --- a/frontends/etiquette_flask/templates/login.html +++ b/frontends/etiquette_flask/templates/login.html @@ -124,7 +124,7 @@ function register_form(event) function login_register_callback(response) { - if (! response.json_ok) + if (! response.meta.json_ok) { alert(JSON.stringify(response)); return;