From 491f3fdfd510e64a3263b1d3810309218b17cc74 Mon Sep 17 00:00:00 2001 From: tabarra Date: Sun, 21 May 2023 12:45:07 -0300 Subject: [PATCH] fix(core): auto sign in after adding master acc --- core/webroutes/authentication/addMaster.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/webroutes/authentication/addMaster.js b/core/webroutes/authentication/addMaster.js index d8664fe3a..0706c75f9 100644 --- a/core/webroutes/authentication/addMaster.js +++ b/core/webroutes/authentication/addMaster.js @@ -234,6 +234,7 @@ async function handleSave(ctx) { ctx.session.auth = await globals.adminVault.providers.citizenfx.getUserSession( ctx.session.tmpAddMasterTokenSet, ctx.session.tmpAddMasterUserInfo, + identifier, ); ctx.session.auth.username = ctx.session.tmpAddMasterUserInfo.name; delete ctx.session.tmpAddMasterTokenSet;