parent
0b304251ff
commit
ab4a4cee9a
7 changed files with 18 additions and 15 deletions
@ -1,6 +1,6 @@ |
||||
import { Handler } from 'express'; |
||||
|
||||
import { stdout } from './shell'; |
||||
import { stdout } from '../lib/shell'; |
||||
|
||||
type HandlerParameters = Parameters<Handler>; |
||||
|
@ -0,0 +1,6 @@ |
||||
import passport from './passport'; |
||||
import session from './session'; |
||||
|
||||
export * from './assertAuthentication'; |
||||
|
||||
export { passport, session }; |
@ -1,11 +1,11 @@ |
||||
import passport from 'passport'; |
||||
import { Strategy as LocalStrategy } from 'passport-local'; |
||||
|
||||
import { DELETED } from './lib/consts'; |
||||
import { DELETED } from '../lib/consts'; |
||||
|
||||
import { query, sub } from './lib/accessModule'; |
||||
import { sanitize } from './lib/sanitize'; |
||||
import { stdout } from './lib/shell'; |
||||
import { query, sub } from '../lib/accessModule'; |
||||
import { sanitize } from '../lib/sanitize'; |
||||
import { stdout } from '../lib/shell'; |
||||
|
||||
passport.use( |
||||
'login', |
Loading…
Reference in new issue