diff --git a/resources/views/account/api.blade.php b/resources/views/account/api.blade.php index 4240112a74..08dd8ea3a1 100644 --- a/resources/views/account/api.blade.php +++ b/resources/views/account/api.blade.php @@ -8,7 +8,10 @@ {{-- Page content --}} @section('content') - - + @if (!config('app.lock_passwords')) + + @else +

{{ trans('general.feature_disabled') }}

+ @endif @stop diff --git a/resources/views/settings/api.blade.php b/resources/views/settings/api.blade.php index 716c7e33c4..b92776a8a6 100644 --- a/resources/views/settings/api.blade.php +++ b/resources/views/settings/api.blade.php @@ -8,7 +8,11 @@ {{-- Page content --}} @section('content') - + @if (!config('app.lock_passwords')) + @else +

{{ trans('general.feature_disabled') }}

+ @endif + @stop