Skip to content

Commit a6b569e

Browse files
committed
Koa logout is async...
1 parent f507a1f commit a6b569e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/okta.provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ export class OktaProvider {
700700
}
701701
await OktaService.logoutUser(user);
702702

703-
ctx.logout();
703+
await ctx.logout();
704704
ctx.redirect('/auth/login');
705705
}
706706

0 commit comments

Comments
 (0)