more session related bug fixes
This commit is contained in:
parent
f2cccdff9f
commit
b0ffb721b6
44 changed files with 143 additions and 143 deletions
|
|
@ -200,7 +200,7 @@ sub authenticate {
|
|||
sub createAccount {
|
||||
my $self = shift;
|
||||
my $vars;
|
||||
if ($self->session->user->profileField("userId") ne "1") {
|
||||
if ($self->session->user->userId ne "1") {
|
||||
return $self->displayAccount;
|
||||
} elsif (!$self->session->setting->get("anonymousRegistration")) {
|
||||
return $self->displayLogin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue