Add last-login-ip capture capability (#184)

This commit is contained in:
Kartik Visweswaran
2018-05-16 18:59:08 +05:30
committed by Lorenzo Milesi
parent 01d9052416
commit 71f9587374
8 changed files with 64 additions and 9 deletions

View File

@ -73,6 +73,7 @@ CREATE TABLE `user` (
`auth_tf_enabled` tinyint(1) DEFAULT '0',
`flags` int(11) NOT NULL DEFAULT '0',
`last_login_at` int(11) DEFAULT NULL,
`last_login_ip` varchar(45) DEFAULT NULL,
`password_changed_at` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),