diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-10-11 22:20:56 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-10-11 22:20:56 +0200 |
commit | f3a2a6151cc1161fe39ae5bd23c63728100c087b (patch) | |
tree | 3c1a35d2aaf24ea443021099f13e1e1b2874c0b5 /lib/AdminPanel/Module | |
parent | 05cddf373d098c9550bd6ac430689ffd2f15748c (diff) | |
download | manatools-f3a2a6151cc1161fe39ae5bd23c63728100c087b.tar manatools-f3a2a6151cc1161fe39ae5bd23c63728100c087b.tar.gz manatools-f3a2a6151cc1161fe39ae5bd23c63728100c087b.tar.bz2 manatools-f3a2a6151cc1161fe39ae5bd23c63728100c087b.tar.xz manatools-f3a2a6151cc1161fe39ae5bd23c63728100c087b.zip |
added shadow last changes to Shared getUserInfo and update GUI
accordingly
Diffstat (limited to 'lib/AdminPanel/Module')
-rw-r--r-- | lib/AdminPanel/Module/Users.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/AdminPanel/Module/Users.pm b/lib/AdminPanel/Module/Users.pm index 78c242d1..b493e09f 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); |