mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-19 06:26:49 +01:00
Added brute-force attack prevention via login rate limit (#1490566)
This commit is contained in:
@@ -7,6 +7,8 @@ CREATE TABLE "users" (
|
||||
"mail_host" varchar(128) NOT NULL,
|
||||
"created" timestamp with time zone DEFAULT current_timestamp NOT NULL,
|
||||
"last_login" timestamp with time zone DEFAULT NULL,
|
||||
"failed_login" timestamp with time zone DEFAULT NULL,
|
||||
"failed_login_counter" integer DEFAULT NULL,
|
||||
"language" varchar(5),
|
||||
"preferences" long DEFAULT NULL,
|
||||
CONSTRAINT "users_username_key" UNIQUE ("username", "mail_host")
|
||||
@@ -218,4 +220,4 @@ CREATE TABLE "system" (
|
||||
"value" long
|
||||
);
|
||||
|
||||
INSERT INTO "system" ("name", "value") VALUES ('roundcube-version', '2015030800');
|
||||
INSERT INTO "system" ("name", "value") VALUES ('roundcube-version', '2015111100');
|
||||
|
||||
Reference in New Issue
Block a user