Skip to content

Commit

Permalink
fix: fix 500 on unauth
Browse files Browse the repository at this point in the history
  • Loading branch information
mrilyew committed Jan 7, 2025
1 parent 3cd803e commit bbcb945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/Presenters/templates/@layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
{include headIncludes}
{/ifset}
</head>
<body data-themepack="{$thisUser->getStyle()}">
<body {if isset($thisUser)}data-themepack="{$thisUser->getStyle()}"{/if}>
<div id="sudo-banner" n:if="isset($thisUser) && $userTainted">
<p>
{_you_entered_as} <b>{$thisUser->getCanonicalName()}</b>. {_please_rights}
Expand Down

0 comments on commit bbcb945

Please sign in to comment.