feat(auth): refactor sign-out functionality and update import paths
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