- aded npm packages @types/qrcode, qrcode and node-f2a
Some checks failed
CI Pipeline / japa-tests (push) Failing after 53s
Some checks failed
CI Pipeline / japa-tests (push) Failing after 53s
- corrected UsersController.ts and RoleController.ts with correct routes for settings - added migration script and ui and Controller for 2 Factor Authentication - npm updates
This commit is contained in:
parent
87e9314b00
commit
c70fa4a0d8
16 changed files with 1098 additions and 417 deletions
|
@ -14,6 +14,8 @@ export default class Accounts extends BaseSchema {
|
|||
table.string('remember_token');
|
||||
table.timestamp('created_at');
|
||||
table.timestamp('updated_at');
|
||||
table.text("two_factor_secret").nullable();
|
||||
table.text("two_factor_recovery_codes").nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -35,4 +37,10 @@ export default class Accounts extends BaseSchema {
|
|||
// updated_at timestamp(0) without time zone,
|
||||
// CONSTRAINT accounts_pkey PRIMARY KEY (id),
|
||||
// CONSTRAINT accounts_email_unique UNIQUE (email)
|
||||
// two_factor_secret text COLLATE pg_catalog."default",
|
||||
// two_factor_recovery_codes text COLLATE pg_catalog."default",
|
||||
// )
|
||||
|
||||
// ALTER TABLE gba.accounts
|
||||
// ADD COLUMN two_factor_secret text COLLATE pg_catalog."default",
|
||||
// ADD COLUMN two_factor_recovery_codes text COLLATE pg_catalog."default";
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue