feat: add TypeScript definitions for next-auth session with accessToken and user details
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
'use server';
|
||||
|
||||
import { signOut } from '../../auth';
|
||||
|
||||
export async function signOutAction() {
|
||||
await signOut({ redirectTo: '/login' });
|
||||
}
|
||||
Reference in New Issue
Block a user