mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-13 16:22:39 +10:00
10 lines
249 B
TypeScript
10 lines
249 B
TypeScript
import { enabledAuthManagers } from "~/server/plugins/04.auth-init";
|
|
|
|
export default defineEventHandler(() => {
|
|
const authManagers = Object.entries(enabledAuthManagers)
|
|
.filter((e) => !!e[1])
|
|
.map((e) => e[0]);
|
|
|
|
return authManagers;
|
|
});
|