feat(frontend): Update better-auth, add orga slug check, add PDF preview, fix invitation

This commit is contained in:
2025-07-27 09:03:11 +02:00
parent bd49291bf2
commit 4d1280749f
6 changed files with 116 additions and 77 deletions

View File

@@ -6,6 +6,7 @@ import { resend } from './mail'
export const auth = betterAuth({
database: new Database('./sqlite.db'),
emailAndPassword: { enabled: true, autoSignIn: false },
trustedOrigins: ["http://localhost:3001"],
plugins: [
jwt({
jwt: {