mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-23 10:54:27 -05:00
* Initial * Progress * Fix * Progress * Notifications list page * BADGE_MANAGER_ADDED * Mark as seen initial * Split tables * Progress * Fix styles * Push notifs initial * Progress * Rename * Routines * Progress * Add e2e tests * Done? * Try updating actions * Consistency * Dep fix * A couple fixes
10 lines
310 B
TypeScript
10 lines
310 B
TypeScript
import { Authenticator } from "remix-auth";
|
|
import { DiscordStrategy } from "./DiscordStrategy.server";
|
|
|
|
export const SESSION_KEY = "user";
|
|
export const IMPERSONATED_SESSION_KEY = "impersonated_user";
|
|
|
|
export const authenticator = new Authenticator<number>();
|
|
|
|
authenticator.use(DiscordStrategy(), "discord");
|