feat(auth): split login_name and display_name for better oauth2/guest user handling

This commit is contained in:
Maieul BOYER 2025-10-25 17:07:17 +02:00 committed by Maix0
parent e0689143c4
commit 332086d5e2
8 changed files with 24 additions and 18 deletions

View file

@ -35,7 +35,7 @@ const route: FastifyPluginAsync = async (fastify, _opts): Promise<void> => {
const payload = {
name: user.name,
name: user.display_name,
id: user.id,
// the !! converts a value from <something> to either `true` or `false`
// it uses the same convention from using <something> in a if, meaning that