Skip to content

Commit

Permalink
fix non-static call (librenms#13030)
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant authored Jul 13, 2021
1 parent 9937131 commit c563efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/user/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c563efd

Please sign in to comment.