From a4a1f39ede08a60a08fb0de6a86c5f753caf0760 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 26 Dec 2020 13:22:19 -0800 Subject: [PATCH] Fix response.json_ok -> response.meta.json_ok. --- frontends/etiquette_flask/templates/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;