Skip to content

Commit 4dde1bc

Browse files
committed
Bugfix
1 parent 24d02d4 commit 4dde1bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/layouts/sidebar.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ function getUrlSatusCodesb($urlsb, $timeoutsb = 3)
388388
<a style="color:tomato;" class="nav-link" href="{{ url('panel/config#5') }}" title="Your security is at risk. Some files can be accessed by everyone. Immediate action is required! Click this message to learn more.">Your security is at risk!</a>
389389
@endif
390390

391-
@if(env('JOIN_BETA') === true)
391+
@if(env('JOIN_BETA') === true and auth()->user()->role == 'admin')
392392
<a style="color:tomato;" class="nav-link" href="{{ url('update') }}">You are in BETA mode! <img src="https://img.llc.ovh/static/v1?label=installed:&message=<?php if(file_exists(base_path("vbeta.json"))) {echo file_get_contents(base_path("vbeta.json"));} else {echo "none";} ?>&color=FFFFFF"> <img src="https://img.llc.ovh/static/v1?label=server:&message=<?php echo file_get_contents("https://update.littlelink-custom.com/beta/vbeta.json"); ?>&color=FFFFFF"></a>
393393
@endif
394394

0 commit comments

Comments
 (0)