Commit 73cd8caf authored by echel0n's avatar echel0n
Browse files

Restart clears current user but does NOT clear cookies, prevents issues with restart page

parent d8302b2c
# Changelog
- * 5757064 - 2017-10-16: Clears current user on restarts to disable header and footers and force re-login
- * a271d79 - 2017-10-16: Restart clears current user but does NOT clear cookies, prevents issues with restart page
- * d8302b2 - 2017-10-16: Clears current user on restarts to disable header and footers and force re-login
- * 7927b8c - 2017-10-16: Clears current user on restarts to disable header and footers and force re-login
- * 4f214c4 - 2017-10-16: Disabled header for restart page
- * 892d3ce - 2017-10-16: Fixed typo in main template
......
......@@ -1116,7 +1116,6 @@ class Home(WebHandler):
return self.redirect('/' + sickrage.srCore.srConfig.DEFAULT_PAGE + '/')
# clear current user
self.clear_cookie("user")
self.current_user = None
if not force: self._genericMessage(_("Restarting"), _("SiCKRAGE is restarting"))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment