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
|
# 3 Authentication has been refused OR first access
|
||||||
else {
|
else {
|
||||||
$skinfile = 'login';
|
$skinfile = 'login';
|
||||||
my $login = $self->userId($req);
|
my $login = $req->user;
|
||||||
if ( $login eq 'anonymous' ) {
|
|
||||||
$login = '';
|
|
||||||
}
|
|
||||||
elsif ( $req->user ) {
|
|
||||||
$login = $req->{user};
|
|
||||||
}
|
|
||||||
%templateParams = (
|
%templateParams = (
|
||||||
MAIN_LOGO => $self->conf->{portalMainLogo},
|
MAIN_LOGO => $self->conf->{portalMainLogo},
|
||||||
LANGS => $self->conf->{showLanguages},
|
LANGS => $self->conf->{showLanguages},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user