- added backup codes for 2 factor authentication
Some checks failed
CI Pipeline / japa-tests (push) Failing after 58s
Some checks failed
CI Pipeline / japa-tests (push) Failing after 58s
- npm updates - coverage validation: elevation ust be positive, depth must be negative - vinejs-provider.js: get enabled extensions from database, not via validOptions.extnames - vue components for backup codes: e.g.: PersonalSettings.vue - validate spaital coverage in leaflet map: draw.component.vue, map.component.vue - add backup code authentication into Login.vue - preset to use no preferred reviewer: Release.vue - 2 new vinejs validation rules: file_scan.ts and file-length.ts
This commit is contained in:
parent
ac473b1e72
commit
005df2e454
32 changed files with 1416 additions and 526 deletions
32
database/migrations/test.ts
Normal file
32
database/migrations/test.ts
Normal file
|
@ -0,0 +1,32 @@
|
|||
// CREATE SEQUENCE IF NOT EXISTS gba.backupcodes_id_seq
|
||||
// INCREMENT 1
|
||||
// START 1
|
||||
// MINVALUE 1
|
||||
// MAXVALUE 2147483647
|
||||
// CACHE 1;
|
||||
|
||||
|
||||
// ALTER SEQUENCE gba.backupcodes_id_seq
|
||||
// OWNER TO tethys_admin;
|
||||
|
||||
// GRANT ALL ON SEQUENCE gba.backupcodes_id_seq TO tethys_admin;
|
||||
|
||||
// GRANT USAGE ON SEQUENCE gba.backupcodes_id_seq TO tethys_app;
|
||||
|
||||
// CREATE TABLE IF NOT EXISTS gba.backupcodes
|
||||
// (
|
||||
// id integer NOT NULL DEFAULT nextval('gba.backupcodes_id_seq'::regclass),
|
||||
// user_id integer,
|
||||
// code character varying(64) NOT NULL,
|
||||
// used boolean NOT NULL DEFAULT false,
|
||||
// CONSTRAINT backupcodes_user_id_foreign FOREIGN KEY (user_id)
|
||||
// REFERENCES gba.accounts (id) MATCH SIMPLE
|
||||
// ON UPDATE CASCADE
|
||||
// ON DELETE CASCADE,
|
||||
// CONSTRAINT backupcodes_pkey PRIMARY KEY (id)
|
||||
// )
|
||||
|
||||
|
||||
// CREATE INDEX IF NOT EXISTS backupcodes_uid
|
||||
// ON gba.backupcodes USING btree
|
||||
// (user_id ASC);
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue