mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 11:16:37 +00:00
Clean up imports and ordering
This commit is contained in:
@@ -27,10 +27,10 @@ export async function logRequestAudit(
|
|||||||
action: boolean;
|
action: boolean;
|
||||||
reason: number;
|
reason: number;
|
||||||
resourceId?: number;
|
resourceId?: number;
|
||||||
|
location?: string;
|
||||||
user?: { username: string; userId: string; orgId: string };
|
user?: { username: string; userId: string; orgId: string };
|
||||||
apiKey?: { name: string; apiKeyId: string; orgId: string };
|
apiKey?: { name: string; apiKeyId: string; orgId: string };
|
||||||
metadata?: any;
|
metadata?: any;
|
||||||
location?: string;
|
|
||||||
// userAgent?: string;
|
// userAgent?: string;
|
||||||
},
|
},
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
import { generateSessionToken } from "@server/auth/sessions/app";
|
|
||||||
import {
|
import {
|
||||||
createResourceSession,
|
|
||||||
serializeResourceSessionCookie,
|
|
||||||
validateResourceSessionToken
|
validateResourceSessionToken
|
||||||
} from "@server/auth/sessions/resource";
|
} from "@server/auth/sessions/resource";
|
||||||
import { verifyResourceAccessToken } from "@server/auth/verifyResourceAccessToken";
|
import { verifyResourceAccessToken } from "@server/auth/verifyResourceAccessToken";
|
||||||
@@ -17,7 +14,6 @@ import {
|
|||||||
import {
|
import {
|
||||||
LoginPage,
|
LoginPage,
|
||||||
Resource,
|
Resource,
|
||||||
ResourceAccessToken,
|
|
||||||
ResourceHeaderAuth,
|
ResourceHeaderAuth,
|
||||||
ResourcePassword,
|
ResourcePassword,
|
||||||
ResourcePincode,
|
ResourcePincode,
|
||||||
|
|||||||
Reference in New Issue
Block a user