feat(core): Prevent session hijacking (#9057)
This commit is contained in:
committed by
GitHub
parent
5793e5644a
commit
28261047c3
@@ -94,7 +94,7 @@ export class AuthController {
|
||||
}
|
||||
}
|
||||
|
||||
this.authService.issueCookie(res, user);
|
||||
this.authService.issueCookie(res, user, req.browserId);
|
||||
void this.internalHooks.onUserLoginSuccess({
|
||||
user,
|
||||
authenticationMethod: usedAuthenticationMethod,
|
||||
|
||||
Reference in New Issue
Block a user