harness-drone/server/app/scripts/controllers/logout.js
Brad Rydzewski 782914b46f fixed logout
2014-10-13 21:10:55 -07:00

7 lines
No EOL
188 B
JavaScript

'use strict';
angular.module('app').controller("LogoutController", function() {
console.log("logging out")
localStorage.removeItem("access_token");
window.location.href = "/login";
});