Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianPrieber committed Jul 5, 2022
1 parent 2300d07 commit 0fc7803
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/views/layouts/sidebar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@ function URL_exists(string $urlsb): bool
@if(config('advanced-config.disable_default_password_notice') != 'true')
{{-- Displays a warning message if default password is still set --}}
@php $userdbs = DB::table('users')->get(); @endphp
@php
$littlelink_current = Auth::user()->id;
$userdbs = DB::table('users')->where('id', $littlelink_current)->get();
@endphp
@foreach($userdbs as $userdb)
Expand Down

0 comments on commit 0fc7803

Please sign in to comment.