Skip to content

Commit

Permalink
Fixed custom backgrounds for non admins
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianPrieber committed Mar 1, 2023
1 parent 76fadcd commit e6af9ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/views/studio/theme.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ function updateicon() {
}catch(Exception $ex){}
?>

@endif
@endif

@if(env('ALLOW_CUSTOM_BACKGROUNDS') == true)
Expand Down Expand Up @@ -303,6 +304,7 @@ function updateicon() {
</form>
@endif

@if(auth()->user()->role == 'admin')
<br><br><br>
<form action="{{ route('editTheme') }}" enctype="multipart/form-data" method="post">
@csrf
Expand Down

0 comments on commit e6af9ec

Please sign in to comment.