Removed usage of localStorage for username

This commit is contained in:
Tobias Reich 2016-03-17 09:20:08 +01:00
parent 4455e81d34
commit 76bc0570ed

View File

@ -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 {