Parcourir la source

keep customizations after logout

Daniel Bohry il y a 9 mois
Parent
commit
d257f6fa55
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      src/routes/logout/+page.svelte

+ 0 - 2
src/routes/logout/+page.svelte

@@ -4,8 +4,6 @@
 
 	function logout() {
 		localStorage.removeItem('authentication');
-		authentication.set(null);
-		localStorage.clear();
 		window.location.href = '/login';
 	}