Skip to content

Commit 867ebb9

Browse files
authored
feat: show name instead of username on login page (#11)
1 parent c68d715 commit 867ebb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ server.get(`/auth/realms/${config.realm}/protocol/openid-connect/auth`, async (r
6767
.map(
6868
(user) =>
6969
`<li>
70-
<a href="/do-login?username=${user.username}&redirect_uri=${query.redirect_uri}">${user.username}</a>
70+
<a href="/do-login?username=${user.username}&redirect_uri=${query.redirect_uri}">${user.name}</a>
7171
</li>`,
7272
)
7373
.join('')}

0 commit comments

Comments
 (0)