tianji/src/server/model/auth.ts

9 lines
246 B
TypeScript
Raw Normal View History

2024-05-14 12:53:19 +00:00
import { AuthConfig } from '@auth/core';
import Nodemailer from '@auth/core/providers/nodemailer';
import { env } from '../utils/env';
export const authConfig: Omit<AuthConfig, 'raw'> = {
providers: [Nodemailer],
secret: env.auth.secret,
};