mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04:00
auth: Add cron to clean old tokens
Rename AuthToken.identifier to label Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
14a4872f49
commit
8f008c7cc5
6 changed files with 27 additions and 17 deletions
|
@ -26,6 +26,7 @@ import cspConfig from './config/csp.config';
|
|||
import databaseConfig from './config/database.config';
|
||||
import authConfig from './config/auth.config';
|
||||
import { PrivateApiModule } from './api/private/private-api.module';
|
||||
import { ScheduleModule } from '@nestjs/schedule';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
|
@ -46,6 +47,7 @@ import { PrivateApiModule } from './api/private/private-api.module';
|
|||
],
|
||||
isGlobal: true,
|
||||
}),
|
||||
ScheduleModule.forRoot(),
|
||||
NotesModule,
|
||||
UsersModule,
|
||||
RevisionsModule,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue