detached 6e1c9bf

fix: typo odlUserId to userId in login logs

commit
6e1c9bfe59b9f3da09b05744ee93480041c66a6d
author
bnema · · 2026-01-18 21:03 UTC
parent
9e16142
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
1 file · +2 -2
M src/routes/api/session/login/+server.ts +2 -2
@@ -119,7 +119,7 @@ export const POST: RequestHandler = async ({ request, cookies }) => {
119119 log.warn('Login failed - invalid password', {
120120 maskedIp,
121121 attemptCount: attemptData.count,
122- odlUserId: `${userId.slice(0, 4)}...${userId.slice(-4)}`
122+ userId: `${userId.slice(0, 4)}...${userId.slice(-4)}`
123123 });
124124 const remaining = Math.max(0, MAX_ATTEMPTS - attemptData.count);
125125 return new Response(
@@ -150,7 +150,7 @@ export const POST: RequestHandler = async ({ request, cookies }) => {
150150 setSessionTokenCookie({ cookies }, token, session.expiresAt);
151151
152152 log.info('Login successful', {
153- odlUserId: `${userId.slice(0, 4)}...${userId.slice(-4)}`,
153+ userId: `${userId.slice(0, 4)}...${userId.slice(-4)}`,
154154 expiresAt: new Date(session.expiresAt).toISOString()
155155 });
156156
@@ -119,7 +119,7 @@ export const POST: RequestHandler = async ({ request, cookies }) => {
119 log.warn('Login failed - invalid password', {119 log.warn('Login failed - invalid password', {
120 maskedIp,120 maskedIp,
121 attemptCount: attemptData.count,121 attemptCount: attemptData.count,
122- odlUserId: `${userId.slice(0, 4)}...${userId.slice(-4)}`122+ userId: `${userId.slice(0, 4)}...${userId.slice(-4)}`
123 });123 });
124 const remaining = Math.max(0, MAX_ATTEMPTS - attemptData.count);124 const remaining = Math.max(0, MAX_ATTEMPTS - attemptData.count);
125 return new Response(125 return new Response(
@@ -150,7 +150,7 @@ export const POST: RequestHandler = async ({ request, cookies }) => {
150 setSessionTokenCookie({ cookies }, token, session.expiresAt);150 setSessionTokenCookie({ cookies }, token, session.expiresAt);
151 151
152 log.info('Login successful', {152 log.info('Login successful', {
153- odlUserId: `${userId.slice(0, 4)}...${userId.slice(-4)}`,153+ userId: `${userId.slice(0, 4)}...${userId.slice(-4)}`,
154 expiresAt: new Date(session.expiresAt).toISOString()154 expiresAt: new Date(session.expiresAt).toISOString()
155 });155 });
156 156

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 3

Tags 8

↑↓ moveenter openesc close