Removed usage of localStorage for username
This commit is contained in:
parent
4455e81d34
commit
76bc0570ed
@ -95,10 +95,6 @@ lychee.login = function(data) {
|
|||||||
|
|
||||||
if (data===true) {
|
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()
|
window.location.reload()
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user