fix: generate csrf tokens on server (#41968)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
This commit is contained in:
committed by
GitHub
parent
21dd80c47a
commit
e1c00138a9
@@ -64,6 +64,7 @@ export function removeCookies(req, res) {
|
||||
res.clearCookie('access_token', config);
|
||||
res.clearCookie('userId', config);
|
||||
res.clearCookie('_csrf', config);
|
||||
res.clearCookie('csrf_token', config);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user