From 3422303882e0e9c9e2867a51ba0854ee1620d451 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 9 Oct 2024 01:40:49 +0300 Subject: [PATCH] [chore] Rename local variable --- src/users.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/users.js b/src/users.js index 9455e9880..54715ef19 100644 --- a/src/users.js +++ b/src/users.js @@ -628,14 +628,14 @@ async function autheliaUserLogin(request) { return false; } - const remote_user = request.get('Remote-User'); - if (!remote_user) { + const remoteUser = request.get('Remote-User'); + if (!remoteUser) { return false; } const userHandles = await getAllUserHandles(); for (const userHandle of userHandles) { - if (remote_user == userHandle) { + if (remoteUser == userHandle) { const user = await storage.getItem(toKey(userHandle)); if (user) { request.session.handle = userHandle;