fix ordering

This commit is contained in:
azivner
2018-04-21 12:23:35 -04:00
parent 4ce5ea9886
commit 66e7c6de62
2 changed files with 2 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ async function loginToProtectedSession(req) {
const protectedSessionId = protectedSessionService.setDataKey(decryptedDataKey);
// this is set here so that event handlers have access to the protected session
cls.namespace.set('protectedSessionId', protectedSessionId);
eventService.emit(eventService.ENTER_PROTECTED_SESSION);