Fixed custom backgrounds for non admins

This commit is contained in:
Julian Prieber 2023-03-01 16:15:58 +01:00
parent 76fadcdab6
commit e6af9ec894

View File

@ -276,6 +276,7 @@ try{ if($GLOBALS['updateAv'] == true) echo '<img style="padding-left:40px; paddi
}catch(Exception $ex){}
?>
@endif
@endif
@if(env('ALLOW_CUSTOM_BACKGROUNDS') == true)
@ -303,6 +304,7 @@ try{ if($GLOBALS['updateAv'] == true) echo '<img style="padding-left:40px; paddi
</form>
@endif
@if(auth()->user()->role == 'admin')
<br><br><br>
<form action="{{ route('editTheme') }}" enctype="multipart/form-data" method="post">
@csrf