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