fix link
This commit is contained in:
@@ -40,7 +40,7 @@ export async function createSession(token: string, email: string) {
|
||||
expires: expiresAt,
|
||||
sameSite: 'lax',
|
||||
path: '/',
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
export async function getSessionData(type: 'token' | 'email'): Promise<string | null> {
|
||||
@@ -63,5 +63,5 @@ export async function getSessionData(type: 'token' | 'email'): Promise<string |
|
||||
|
||||
export async function deleteSession() {
|
||||
const cookieStore = await cookies()
|
||||
cookieStore.delete('session')
|
||||
cookieStore.delete('session');
|
||||
}
|
||||
Reference in New Issue
Block a user