diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index c5275b0c1e..86b76eb903 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -285,7 +285,7 @@ {{ ($user->two_factor_active_and_enrolled()) ? trans('general.yes') : trans('general.no') }} - @if ((Auth::user()->isSuperUser()) && ($snipeSettings->two_factor_enabled!='0')) + @if ((Auth::user()->isSuperUser()) && ($snipeSettings->two_factor_enabled!='0') && ($snipeSettings->two_factor_enabled!=''))
{{ trans('admin/settings/general.two_factor_reset') }}