Skip to content

Commit

Permalink
Updates to logout ui
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsielicki committed Dec 9, 2015
1 parent 83aef3e commit 850c05e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 50 deletions.
10 changes: 9 additions & 1 deletion packages/slycat/web/server/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,15 @@ def log_configuration(tree, indent=""):
"tools.expires.on": True,
"tools.expires.secs": 3600,
"tools.%s.on" % authentication : False,
"tools.staticfile.filename": abspath("logout.html"),
"tools.staticfile.filename": abspath("templates/slycat-logout.html"),
"tools.staticfile.on": True,
}
configuration["/resources/global/slycat-logo-navbar.png"] = {
"tools.expires.force": True,
"tools.expires.on": True,
"tools.expires.secs": 3600,
"tools.%s.on" % authentication : False,
"tools.staticfile.filename": abspath("css/slycat-logo-navbar.png"),
"tools.staticfile.on": True,
}
# Load plugin modules.
Expand Down
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 = "/";
window.location.href = "/logout.html";
},
error: function(){
window.alert("Sorry, something went wrong and you are not signed out.");
Expand Down
48 changes: 0 additions & 48 deletions web-server/logout.html

This file was deleted.

0 comments on commit 850c05e

Please sign in to comment.