mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:55:56 +00:00
implement one time passwords using TOTP
This commit is contained in:
@@ -46,6 +46,7 @@ create table ttrss_users (id serial not null primary key,
|
||||
last_digest_sent timestamp default null,
|
||||
salt varchar(250) not null default '',
|
||||
twitter_oauth text default null,
|
||||
otp_enabled boolean not null default false,
|
||||
created timestamp default null);
|
||||
|
||||
insert into ttrss_users (login,pwd_hash,access_level) values ('admin',
|
||||
@@ -229,7 +230,7 @@ create table ttrss_filters2(id serial not null primary key,
|
||||
owner_uid integer not null references ttrss_users(id) on delete cascade,
|
||||
match_any_rule boolean not null default false,
|
||||
enabled boolean not null default true);
|
||||
|
||||
|
||||
create table ttrss_filters2_rules(id serial not null primary key,
|
||||
filter_id integer not null references ttrss_filters2(id) on delete cascade,
|
||||
reg_exp varchar(250) not null,
|
||||
@@ -253,7 +254,7 @@ create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
|
||||
|
||||
create table ttrss_version (schema_version int not null);
|
||||
|
||||
insert into ttrss_version values (96);
|
||||
insert into ttrss_version values (97);
|
||||
|
||||
create table ttrss_enclosures (id serial not null primary key,
|
||||
content_url text not null,
|
||||
|
||||
Reference in New Issue
Block a user