Get login to use it in password force change form (#1910)
This commit is contained in:
parent
bdd2fed3ae
commit
ce6f6c3977
|
@ -288,7 +288,12 @@ sub display {
|
|||
else {
|
||||
$skinfile = 'login';
|
||||
my $login = $self->userId($req);
|
||||
$login = '' if ( $login eq 'anonymous' );
|
||||
if ( $login eq 'anonymous' ) {
|
||||
$login = '';
|
||||
}
|
||||
elsif ( $req->user ) {
|
||||
$login = $req->{user};
|
||||
}
|
||||
%templateParams = (
|
||||
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||
LANGS => $self->conf->{showLanguages},
|
||||
|
|
Loading…
Reference in New Issue
Block a user