created basic auth system

This commit is contained in:
2023-04-23 17:16:53 +02:00
parent 70f18f75df
commit fa0a9b8e58
10 changed files with 360 additions and 15 deletions

View File

@@ -0,0 +1,5 @@
export default defineEventHandler(async (event) => {
const auth = getAuth(event)
return auth
});