mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 18:26:32 -05:00
removed AuthProvider
Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
c49039c48c
commit
a36c36d86a
2 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||||
|
|
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue