diff --git a/resources/views/settings/applications.blade.php b/resources/views/settings/applications.blade.php index b0fa94d18..be40dfdf7 100644 --- a/resources/views/settings/applications.blade.php +++ b/resources/views/settings/applications.blade.php @@ -2,20 +2,23 @@ @section('section') -
-

Applications

-
-
- - - +
+

Applications

+
+
+@if(config('pixelfed.oauth_enabled') == true) + + +@else +

OAuth has not been enabled on this instance.

+@endif @endsection @push('scripts') @endpush \ No newline at end of file diff --git a/resources/views/settings/developers.blade.php b/resources/views/settings/developers.blade.php index 0caf99afa..14f80094e 100644 --- a/resources/views/settings/developers.blade.php +++ b/resources/views/settings/developers.blade.php @@ -2,19 +2,23 @@ @section('section') -
-

Developers

-
-
- +
+

Developers

+
+
+@if(config('pixelfed.oauth_enabled') == true) + +@else +

OAuth has not been enabled on this instance.

+@endif @endsection @push('scripts') @endpush \ No newline at end of file diff --git a/resources/views/settings/partial/sidebar.blade.php b/resources/views/settings/partial/sidebar.blade.php index 68fd09e83..32f4ff6cd 100644 --- a/resources/views/settings/partial/sidebar.blade.php +++ b/resources/views/settings/partial/sidebar.blade.php @@ -43,6 +43,7 @@ Data Export + @if(config('pixelfed.oauth_enabled') == true) @@ -52,6 +53,8 @@ + @endif +