mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-02 01:15:31 +00:00
chore: WIP
This commit is contained in:
15 files changed
+520
-53
No files matched your search
+5
-3
@@ -2,9 +2,7 @@
|
||||
|
||||
import { AuthError } from "next-auth";
|
||||
|
||||
import { signIn } from "@/auth.config";
|
||||
|
||||
// ...
|
||||
import { signIn, signOut } from "@/auth.config";
|
||||
|
||||
export async function authenticate(
|
||||
prevState: string | undefined,
|
||||
@@ -26,3 +24,7 @@ export async function authenticate(
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
export async function logOut() {
|
||||
await signOut();
|
||||
}
|
||||
Reference in new issue
Block a user