Skip to content

Commit

Permalink
Redirecting to login page on logout. Addresses #560
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsielicki committed Jan 21, 2016
1 parent 96ea771 commit c12b3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-server/js/slycat-navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ define("slycat-navbar", ["slycat-server-root", "slycat-web-client", "slycat-chan
{
client.sign_out({
success: function(){
window.location.href = "/logout.html";
window.location.href = "/login/slycat-login.html";
},
error: function(){
window.alert("Sorry, something went wrong and you are not signed out.");
Expand Down

0 comments on commit c12b3f0

Please sign in to comment.