mirror of
https://github.com/diced/zipline.git
synced 2026-01-06 17:54:35 -08:00
check for needed routes, added logs for indexcontroller
This commit is contained in:
@@ -11,7 +11,6 @@ export async function cookiesForAPI(req: Request, res: Response, next: any) {
|
||||
id: 0,
|
||||
username: 'administrator',
|
||||
password: config.administrator.password,
|
||||
token: config.administrator.authorization,
|
||||
administrator: true
|
||||
}
|
||||
else req.session.user = await getConnection().getRepository(User).findOne({ id: req.cookies.typex_user });
|
||||
|
||||
Reference in New Issue
Block a user