Skip to content

Commit

Permalink
fix(core): auto sign in after adding master acc
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed May 21, 2023
1 parent 4424b12 commit 491f3fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/webroutes/authentication/addMaster.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 491f3fd

Please sign in to comment.