proje / apps /web /src /lib /auth.ts
rodopsin
Initial commit: AJet360 dummy prototype
d34aa41
Raw
History Blame Contribute Delete
309 Bytes
import type { Session } from 'next-auth';
export const demoSession: Session = {
user: {
id: 'demo-admin',
email: 'admin@ajet.com.tr',
name: 'AJet Admin',
role: 'ADMIN',
region: null,
},
expires: '2099-12-31T23:59:59.999Z',
};
export async function auth() {
return demoSession;
}