File size: 309 Bytes
d34aa41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
}