This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { redirect } from "@sveltejs/kit";
|
||||
const actions = {
|
||||
default: async ({ locals }) => {
|
||||
locals.pb.authStore.clear();
|
||||
throw redirect(303, "/login");
|
||||
}
|
||||
};
|
||||
export {
|
||||
actions
|
||||
};
|
||||
Reference in New Issue
Block a user