mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
feat: add auth controller with internal login, registration, password change and logout
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
cd4ee84ec3
commit
366057fb8b
3 changed files with 180 additions and 0 deletions
|
@ -8,12 +8,14 @@ import { Module } from '@nestjs/common';
|
|||
import { AuthModule } from '../../auth/auth.module';
|
||||
import { FrontendConfigModule } from '../../frontend-config/frontend-config.module';
|
||||
import { HistoryModule } from '../../history/history.module';
|
||||
import { IdentityModule } from '../../identity/identity.module';
|
||||
import { LoggerModule } from '../../logger/logger.module';
|
||||
import { MediaModule } from '../../media/media.module';
|
||||
import { NotesModule } from '../../notes/notes.module';
|
||||
import { PermissionsModule } from '../../permissions/permissions.module';
|
||||
import { RevisionsModule } from '../../revisions/revisions.module';
|
||||
import { UsersModule } from '../../users/users.module';
|
||||
import { AuthController } from './auth/auth.controller';
|
||||
import { ConfigController } from './config/config.controller';
|
||||
import { HistoryController } from './me/history/history.controller';
|
||||
import { MeController } from './me/me.controller';
|
||||
|
@ -32,6 +34,7 @@ import { TokensController } from './tokens/tokens.controller';
|
|||
NotesModule,
|
||||
MediaModule,
|
||||
RevisionsModule,
|
||||
IdentityModule,
|
||||
],
|
||||
controllers: [
|
||||
TokensController,
|
||||
|
@ -40,6 +43,7 @@ import { TokensController } from './tokens/tokens.controller';
|
|||
HistoryController,
|
||||
MeController,
|
||||
NotesController,
|
||||
AuthController,
|
||||
],
|
||||
})
|
||||
export class PrivateApiModule {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue