mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-05 21:47:48 +01:00
Translation system is still fucked up
This commit is contained in:
@@ -27,7 +27,7 @@ async function login(loginUrl, username, password) {
|
||||
);
|
||||
const status = authResponse[0];
|
||||
const data = JSON.parse(authResponse[2]);
|
||||
const token = data.result.token;
|
||||
const {token} = data.result;
|
||||
try {
|
||||
if (status === 200) {
|
||||
cache.put(tokenCacheKey, token); // expiration -5 minutes
|
||||
|
||||
Reference in New Issue
Block a user