diff --git a/public/images/sofarr-logoonly.png b/public/images/sofarr-logoonly.png new file mode 100644 index 0000000..5485376 Binary files /dev/null and b/public/images/sofarr-logoonly.png differ diff --git a/server/routes/auth.js b/server/routes/auth.js index 0a2c8ba..19127fa 100644 --- a/server/routes/auth.js +++ b/server/routes/auth.js @@ -23,7 +23,6 @@ router.post('/login', async (req, res) => { }); const authData = authResponse.data; - console.log(`[Auth] Emby auth response:`, JSON.stringify(authData)); // Get user info using the access token const userResponse = await axios.get(`${EMBY_URL}/Users/${authData.User.Id || authData.User.id}`, { @@ -33,8 +32,7 @@ router.post('/login', async (req, res) => { }); const user = userResponse.data; - console.log(`[Auth] User info:`, JSON.stringify(user)); - console.log(`[Auth] Login successful for user: ${user.Name}`); + console.log(`[Auth] Login successful for user: ${user.Name}, isAdmin: ${!!(user.Policy && user.Policy.IsAdministrator)}`); // Set authentication cookie // Note: token is intentionally excluded from the cookie — it is not needed client-side