removed AuthProvider

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
Philip Molares 2020-04-12 21:07:26 +02:00 committed by David Mehren
parent c49039c48c
commit a36c36d86a
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
2 changed files with 3 additions and 4 deletions

View file

@ -20,7 +20,7 @@ import { config } from './config'
import { logger } from './logger' import { logger } from './logger'
import { errors } from './errors' import { errors } from './errors'
import { addNonceToLocals, computeDirectives } from './csp' import { addNonceToLocals, computeDirectives } from './csp'
import { AuthRouter, BaseRouter, HistoryRouter, ImageRouter, NoteRouter, StatusRouter } from './web/' import { BaseRouter, HistoryRouter, ImageRouter, NoteRouter, StatusRouter } from './web/'
// others // others
import { realtime } from './realtime' import { realtime } from './realtime'
@ -206,7 +206,7 @@ app.locals.enableGitlabSnippets = config.isGitlabSnippetsEnable
app.use(BaseRouter) app.use(BaseRouter)
app.use(StatusRouter) app.use(StatusRouter)
app.use(AuthRouter) app.use(require('./web/auth'))
app.use(HistoryRouter) app.use(HistoryRouter)
app.use(require('./web/userRouter')) app.use(require('./web/userRouter'))
app.use(ImageRouter) app.use(ImageRouter)

View file

@ -1,8 +1,7 @@
import { AuthRouter } from './auth'
import { BaseRouter } from './baseRouter' import { BaseRouter } from './baseRouter'
import { HistoryRouter } from './historyRouter' import { HistoryRouter } from './historyRouter'
import { ImageRouter } from './imageRouter' import { ImageRouter } from './imageRouter'
import { NoteRouter } from './note/router' import { NoteRouter } from './note/router'
import { StatusRouter } from './statusRouter' import { StatusRouter } from './statusRouter'
export { AuthRouter, BaseRouter, HistoryRouter, ImageRouter, NoteRouter, StatusRouter } export { BaseRouter, HistoryRouter, ImageRouter, NoteRouter, StatusRouter }