mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 10:16:32 -05:00
auth/email: Fix passport import 🐛
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
992affae45
commit
5d3c636c14
1 changed files with 5 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
|||
import { Router, Request, Response, NextFunction } from 'express'
|
||||
import { NextFunction, Request, Response, Router } from 'express'
|
||||
import passport from 'passport'
|
||||
import { Strategy as LocalStrategy } from 'passport-local'
|
||||
import validator from 'validator'
|
||||
import * as LocalStrategy from 'passport-local'
|
||||
import { config } from '../../../config'
|
||||
import { User } from '../../../models'
|
||||
import { logger } from '../../../logger'
|
||||
import { urlencodedParser } from '../../utils'
|
||||
import { errors } from '../../../errors'
|
||||
import { logger } from '../../../logger'
|
||||
import { User } from '../../../models'
|
||||
import { urlencodedParser } from '../../utils'
|
||||
import { AuthMiddleware } from '../interface'
|
||||
|
||||
const emailAuth = Router()
|
||||
|
|
Loading…
Reference in a new issue