Skip to content
Snippets Groups Projects
Commit 56a9869a authored by AndyRamb's avatar AndyRamb
Browse files

newInformation på user settings

parent ba7c0f38
No related branches found
No related tags found
No related merge requests found
Pipeline #72168 passed
......@@ -21,7 +21,7 @@ function editUser (event) {
.then(response => response.json())
.then(response => {
if (response === true) {
sessionStorage.setItem("username", user.username);
sessionStorage.setItem("username", newInformation.username);
alert("Bruker oppdatert");
window.location.href = "../app.html";
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment