Fix autologin after account creation

This commit is contained in:
Johannes Zellner
2025-08-07 17:09:36 +02:00
parent 2056015fa2
commit 8143ef1057
+1 -1
View File
@@ -363,7 +363,7 @@ async function interactionLogin(req, res, next) {
const token = await tokens.getByAccessToken(req.body.autoLoginToken);
if (!token) return next(new HttpError(401, 'No such token'));
const user = await users.getByUsername(token.identifier);
const user = await users.get(token.identifier);
if (!user) return next(new HttpError(401,'User not found'));
const result = {