chore: Use httpOnly authentication cookie (#5552)
This commit is contained in:
@@ -19,7 +19,7 @@ export default class AuthenticationExtension implements Extension {
|
||||
throw AuthenticationError("Authentication required");
|
||||
}
|
||||
|
||||
const user = await getUserForJWT(token);
|
||||
const user = await getUserForJWT(token, ["session", "collaboration"]);
|
||||
|
||||
if (user.isSuspended) {
|
||||
throw AuthenticationError("Account suspended");
|
||||
|
||||
Reference in New Issue
Block a user