[chore] Rename local variable
This commit is contained in:
parent
8a95e0a290
commit
3422303882
|
@ -628,14 +628,14 @@ async function autheliaUserLogin(request) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const remote_user = request.get('Remote-User');
|
const remoteUser = request.get('Remote-User');
|
||||||
if (!remote_user) {
|
if (!remoteUser) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const userHandles = await getAllUserHandles();
|
const userHandles = await getAllUserHandles();
|
||||||
for (const userHandle of userHandles) {
|
for (const userHandle of userHandles) {
|
||||||
if (remote_user == userHandle) {
|
if (remoteUser == userHandle) {
|
||||||
const user = await storage.getItem(toKey(userHandle));
|
const user = await storage.getItem(toKey(userHandle));
|
||||||
if (user) {
|
if (user) {
|
||||||
request.session.handle = userHandle;
|
request.session.handle = userHandle;
|
||||||
|
|
Loading…
Reference in New Issue