diff --git a/src/main/webapp/js/settings.js b/src/main/webapp/js/settings.js index a615d24e974de1f1cf5ae65b57d8833290e2d97a..8bd2216e9b1113b619cd6e602cc04d3d929cb47f 100644 --- a/src/main/webapp/js/settings.js +++ b/src/main/webapp/js/settings.js @@ -23,7 +23,7 @@ function editUser(event) { }) .then(response => response.json()) .then(response => { - if (response === true) { + if (response == true) { alert("Bruker oppdatert"); window.location.href = "../app.html"; } else {