diff --git a/api/src/modules/auth/authentication.service.ts b/api/src/modules/auth/authentication.service.ts index cc565951..8356038d 100644 --- a/api/src/modules/auth/authentication.service.ts +++ b/api/src/modules/auth/authentication.service.ts @@ -117,7 +117,7 @@ export class AuthenticationService { ), ); const backofficeSession: BackOfficeSession = { - sid: uid.sync(24), + sid: await uid(24), sess: { cookie: { secure: false,