Commit 2c422723 authored by Randall Leeds's avatar Randall Leeds

use explicit /app/logout URL on log out

For some reason, only in the Chrome extension, this was generating
URLs like /logout instead of /app/logout. Investigate later.
parent d95a2f0f
......@@ -116,7 +116,8 @@ class App
$scope.$watch 'persona', (newValue, oldValue) =>
if oldValue? and not newValue?
$http.post 'logout', '',
# TODO: better knowledge of routes
$http.post '/app/logout', '',
withCredentials: true
.success (data) =>
$scope.$broadcast '$reset'
......
Markdown is supported
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