Browse Source

Removed usage of localStorage for username

Tobias Reich 8 years ago
parent
commit
76bc0570ed
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/scripts/lychee.js

+ 0 - 4
src/scripts/lychee.js

@@ -95,10 +95,6 @@ lychee.login = function(data) {
 
 		if (data===true) {
 
-			// Use 'try' to catch a thrown error when Safari is in private mode
-			try { localStorage.setItem('lychee_username', user) }
-			catch (err) {}
-
 			window.location.reload()
 
 		} else {