more session related bug fixes
This commit is contained in:
parent
f2cccdff9f
commit
b0ffb721b6
44 changed files with 143 additions and 143 deletions
|
|
@ -129,7 +129,7 @@ Returns a message stating that the user does not have the privileges necessary t
|
|||
sub noAccess {
|
||||
my $self = shift;
|
||||
$self->session->http->setStatus("401", "No Access");
|
||||
if ($self->session->user->profileField("userId") eq '1') {
|
||||
if ($self->session->user->userId eq '1') {
|
||||
return WebGUI::Operation::Auth::www_auth("init");
|
||||
} else {
|
||||
my $i18n = WebGUI::International->new($self->session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue