- added api UserController.ts for 2FA
Some checks failed
CI Pipeline / japa-tests (push) Failing after 56s
Some checks failed
CI Pipeline / japa-tests (push) Failing after 56s
- added PersonalTotpSettings.vue vor enablin/disabling 2FA - changed User.ts: added attributes: state, twoFactorSecret and twoFactorRecoveryCodes - added resources/js/utils/toast.ts for notifications - modified start/routes/api.ts - npm updates
This commit is contained in:
parent
18635f77b3
commit
ebc62d9117
18 changed files with 1151 additions and 315 deletions
|
@ -19,7 +19,10 @@ Route.group(() => {
|
|||
|
||||
Route.get('/download/:id', 'FileController.findOne').as('file.findOne');
|
||||
|
||||
Route.get('/avatar/:name/:background?/:textColor?/:size?', 'AvatarController.generateAvatar')
|
||||
Route.get('/avatar/:name/:background?/:textColor?/:size?', 'AvatarController.generateAvatar');
|
||||
|
||||
|
||||
Route.post('/twofactor_totp/settings/enable/:state/:code?', 'UserController.enable').as('apps.twofactor_totp.enable') .middleware(['auth']);;
|
||||
});
|
||||
// .middleware("auth:api");
|
||||
})
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue