aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Module/Users.pm
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-10-11 22:20:56 +0200
committerAngelo Naselli <anaselli@linux.it>2014-10-11 22:20:56 +0200
commitf3a2a6151cc1161fe39ae5bd23c63728100c087b (patch)
tree3c1a35d2aaf24ea443021099f13e1e1b2874c0b5 /lib/AdminPanel/Module/Users.pm
parent05cddf373d098c9550bd6ac430689ffd2f15748c (diff)
downloadcolin-keep-f3a2a6151cc1161fe39ae5bd23c63728100c087b.tar
colin-keep-f3a2a6151cc1161fe39ae5bd23c63728100c087b.tar.gz
colin-keep-f3a2a6151cc1161fe39ae5bd23c63728100c087b.tar.bz2
colin-keep-f3a2a6151cc1161fe39ae5bd23c63728100c087b.tar.xz
colin-keep-f3a2a6151cc1161fe39ae5bd23c63728100c087b.zip
added shadow last changes to Shared getUserInfo and update GUI
accordingly
Diffstat (limited to 'lib/AdminPanel/Module/Users.pm')
-rw-r--r--lib/AdminPanel/Module/Users.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/AdminPanel/Module/Users.pm b/lib/AdminPanel/Module/Users.pm
index 78c242d..b493e09 100644
--- a/lib/AdminPanel/Module/Users.pm
+++ b/lib/AdminPanel/Module/Users.pm
@@ -1639,8 +1639,9 @@ sub _userPasswordInfoTabWidget {
my $layout = $factory->createVBox($replace_pnt);
my %userPasswordWidget;
- my $userEnt = $self->sh_users->ctx->LookupUserByName($userData->{username});
- my $lastchg = $userEnt->ShadowLastChange($self->sh_users->USER_GetValue);
+
+ my $userInfo = $self->sh_users->getUserInfo($userData->{username});
+ my $lastchg = $userInfo->{last_change};
my $align = $factory->createLeft($layout);
my $hbox = $factory->createHBox($align);