fix non-static call (#13030)

This commit is contained in:
Tony Murray
2021-07-12 19:59:05 -05:00
committed by GitHub
parent 9937131906
commit c563efd284

View File

@@ -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