Updates
This commit is contained in:
@@ -5,6 +5,7 @@ import EJSON from "../package-shared/utils/ejson";
|
||||
import { deleteAuthFile } from "../package-shared/functions/backend/auth/write-auth-files";
|
||||
import parseCookies from "../package-shared/utils/backend/parseCookies";
|
||||
import { DATASQUIREL_LoggedInUser } from "../package-shared/types";
|
||||
import grabKeys from "../package-shared/utils/grab-keys";
|
||||
|
||||
type Param = {
|
||||
encryptedUserString?: string;
|
||||
@@ -42,6 +43,7 @@ export default function logoutUser({
|
||||
database,
|
||||
userId: dsqlUserId || process.env.DSQL_API_USER_ID,
|
||||
});
|
||||
|
||||
const authKeyName = cookieNames.keyCookieName;
|
||||
const csrfName = cookieNames.csrfCookieName;
|
||||
const oneTimeCodeName = getAuthCookieNames().oneTimeCodeName;
|
||||
|
||||
Reference in New Issue
Block a user