Skip to content

Commit b06d2bb

Browse files
author
Timo
committed
Implement Issue #4357
Shows last ip that was used to login successfully with this useraccount. Logins from admins using loginAs are ignored Implementiert Issue #4357 Zeigt die IP-Adresse des letzten erfolgreichen Logins auf dem Dashboard an. Verändert die gespeicherte IP-Adresse nicht, wenn man sich via "Einloggen als" angemeldet hat. Needed Database-Changes: ALTER TABLE `sys_user` ADD `last_login_ip` VARCHAR(50) NULL AFTER `lost_password_reqtime`; ALTER TABLE `sys_user` ADD `last_login_at` BIGINT(20) NULL AFTER `last_login_ip`; Tested/Working on Ubuntu 16.04 LTS
1 parent 6636fa8 commit b06d2bb

File tree

27 files changed

+38
-4
lines changed

27 files changed

+38
-4
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
22
$wb['welcome_user_txt'] = 'Welcome %s';
33
$wb['available_modules_txt'] = 'Available Modules';
4+
$wb['last_login_ip'] = "Last login from %s at %s";
45
?>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
22
$wb['welcome_user_txt'] = 'Добре дошъл %s';
33
$wb['available_modules_txt'] = 'Налични Модули';
4+
$wb['last_login_ip'] = "Last login from %s at %s";
45
?>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
22
$wb['welcome_user_txt'] = 'Bem-vindo %s';
33
$wb['available_modules_txt'] = 'Módulos Disponíveis';
4+
$wb['last_login_ip'] = "Last login from %s at %s";
45
?>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
22
$wb['welcome_user_txt'] = 'Bienvenue %s';
33
$wb['available_modules_txt'] = 'Modules disponibles';
4+
$wb['last_login_ip'] = "Last login from %s at %s";
45
?>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22
$wb['welcome_user_txt'] = 'Vítejte %s';
33
$wb['available_modules_txt'] = 'Dostupné moduly';
4+
$wb['last_login_ip'] = "Last login from %s at %s";
45
?>
5-
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
22
$wb['welcome_user_txt'] = 'Herzlich willkommen %s';
33
$wb['available_modules_txt'] = 'Verfügbare Module';
4+
$wb['last_login_ip'] = "Letzter Login erfolgte von IP %s am %s";
45
?>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
22
$wb['welcome_user_txt'] = 'Velkommen %s';
33
$wb['available_modules_txt'] = 'Tilgængelige Moduler';
4+
$wb['last_login_ip'] = "Last login from %s at %s";
45
?>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
22
$wb['welcome_user_txt'] = 'Καλωσήρθατε %s';
33
$wb['available_modules_txt'] = 'Διαθέσιμες επιλογές';
4+
$wb['last_login_ip'] = "Last login from %s at %s";
45
?>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
22
$wb['welcome_user_txt'] = "Welcome %s";
33
$wb['available_modules_txt'] = "Available Modules";
4+
$wb['last_login_ip'] = "Last login from %s at %s";
45
?>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
22
$wb['available_modules_txt'] = 'Módulos disponibles';
33
$wb['welcome_user_txt'] = 'Bienvenido %s';
4+
$wb['last_login_ip'] = "Last login from %s at %s";
45
?>

0 commit comments

Comments
 (0)