MCPcopy
hub / github.com/chartbrew/chartbrew / logout

Function logout

client/src/actions/user.js:363–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

361}
362
363export function logout() {
364 return (dispatch) => {
365 cookie.remove("brewToken", { path: "/" });
366 window.location.pathname = "/";
367 dispatch({ type: LOGOUT_USER });
368 };
369}
370
371export function sendFeedback({ name, feedback, email }) {
372 return (dispatch) => {

Callers 2

NavbarContainerFunction · 0.90
SidebarFunction · 0.90

Calls 2

dispatchFunction · 0.50
removeMethod · 0.45

Tested by

no test coverage detected