some new stuff
This commit is contained in:
parent
6f9612a0d0
commit
0ffe4c87ce
3 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ Returns a message stating that the user does not have the privileges necessary t
|
|||
sub noAccess {
|
||||
WebGUI::HTTP::setStatus("401", "No Access");
|
||||
my ($output);
|
||||
if ($session{user}{userId} <= 1) {
|
||||
if ($session{user}{userId} eq '1') {
|
||||
$output = WebGUI::Operation::Auth::www_auth("init");
|
||||
} else {
|
||||
$output = '<h1>'.WebGUI::International::get(37).'</h1>';
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue