Remember login across authentication attempts (#2616)
This commit is contained in:
parent
66946e8f75
commit
8aa3e65137
|
@ -364,13 +364,7 @@ sub display {
|
|||
# 3 Authentication has been refused OR first access
|
||||
else {
|
||||
$skinfile = 'login';
|
||||
my $login = $self->userId($req);
|
||||
if ( $login eq 'anonymous' ) {
|
||||
$login = '';
|
||||
}
|
||||
elsif ( $req->user ) {
|
||||
$login = $req->{user};
|
||||
}
|
||||
my $login = $req->user;
|
||||
%templateParams = (
|
||||
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||
LANGS => $self->conf->{showLanguages},
|
||||
|
|
Loading…
Reference in New Issue
Block a user