mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-29 06:19:32 +00:00
Added an service for generating Backup codes and added some tests.
This commit is contained in:
parent
452fc3e78a
commit
fba5f9794f
16 changed files with 245 additions and 7 deletions
|
|
@ -120,6 +120,11 @@ services:
|
|||
arguments:
|
||||
$mimeTypes: '@mime_types'
|
||||
|
||||
App\Services\TFA\BackupCodeGenerator:
|
||||
arguments:
|
||||
$code_length: 8
|
||||
$code_count: 10
|
||||
|
||||
App\Services\TranslationExtractor\PermissionExtractor:
|
||||
tags:
|
||||
- { name: 'translation.extractor', alias: 'permissionExtractor'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue