Skip to content
Snippets Groups Projects
Commit 89c98cea authored by echicken's avatar echicken :chicken:
Browse files

Send client back to / on logout.

parent 33a49bf4
No related branches found
No related tags found
No related merge requests found
......@@ -38,9 +38,7 @@ function logout() {
}
}
).done(
function (data) {
if (!data.authenticated) window.location.reload(true);
}
function (data) { if (!data.authenticated) window.location.href = '/'; }
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment