mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-14 09:26:49 +02:00
♻️ Switch to next-auth for handling authentication (#899)
This commit is contained in:
parent
5f9e428432
commit
6fa66da681
65 changed files with 1514 additions and 1586 deletions
|
@ -1,4 +1,3 @@
|
|||
import { TimeFormat } from "@rallly/database";
|
||||
import { sealData, unsealData } from "iron-session";
|
||||
|
||||
import { sessionConfig } from "./session-config";
|
||||
|
@ -6,11 +5,6 @@ import { sessionConfig } from "./session-config";
|
|||
type UserSessionData = {
|
||||
id: string;
|
||||
isGuest: boolean;
|
||||
preferences?: {
|
||||
timeZone?: string;
|
||||
weekStart?: number;
|
||||
timeFormat?: TimeFormat;
|
||||
};
|
||||
};
|
||||
|
||||
declare module "iron-session" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue