function logout() {
  delete_cookie('access_token');
  delete_cookie('collection');
  localStorage.setItem("loggedInAs", "");
  Ermintrude.refreshAdminMenu();
  viewController();
}
/**
 * Logout the current user and return to the login screen.
 */
Logout the current user and return to the login screen.
Logout the current user and return to the login screen .
function logout() {
  delete_cookie('access_token');
  delete_cookie('collection');
  localStorage.setItem("loggedInAs", "");
  Ermintrude.refreshAdminMenu();
  viewController();
}
function logout ( ) { delete_cookie ( 'access_token' ) ; delete_cookie ( 'collection' ) ; localStorage . setItem ( "loggedInAs" , "" ) ; Ermintrude . refreshAdminMenu ( ) ; viewController ( ) ; }
Logout the current user and return to the login screen.
Logout the current user and return to the login screen .