mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix non-static call (#13030)
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<td>{{ $user->enabled }}</td>
|
||||
@endif
|
||||
@config('twofactor')
|
||||
@if(app('App\Models\UserPref')->getPref($user, 'twofactor'))
|
||||
@if(\App\Models\UserPref::getPref($user, 'twofactor'))
|
||||
<td>1</td>
|
||||
@endif
|
||||
@endconfig
|
||||
|
||||
Reference in New Issue
Block a user