From ba22baebbd1394cc69366d7a19d879da43885430 Mon Sep 17 00:00:00 2001 From: raczman Date: Sun, 25 Aug 2013 14:02:40 +0100 Subject: Core/Auth: Implement time-based token for user login as described in RFC 6238. New column in account table is a base32 of token key bytes, coincidentally it is the same format Google's Authenticator Android app uses. If you want that to work, set system time on server correctly and use ntpd. Closes #10527 Signed-off-by: Nay --- sql/updates/auth/2013_08_25_00_auth.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 sql/updates/auth/2013_08_25_00_auth.sql (limited to 'sql/updates/auth') diff --git a/sql/updates/auth/2013_08_25_00_auth.sql b/sql/updates/auth/2013_08_25_00_auth.sql new file mode 100644 index 00000000000..d1abc9eb958 --- /dev/null +++ b/sql/updates/auth/2013_08_25_00_auth.sql @@ -0,0 +1 @@ +ALTER TABLE `account` ADD COLUMN `token_key` varchar(100) NOT NULL DEFAULT '' AFTER `s`; -- cgit v1.2.3