|
@@ -2,20 +2,23 @@
|
|
|
|
|
|
@section('section')
|
|
|
|
|
|
- <div class="title">
|
|
|
- <h3 class="font-weight-bold">Applications</h3>
|
|
|
- </div>
|
|
|
- <hr>
|
|
|
-<passport-authorized-clients></passport-authorized-clients>
|
|
|
-<passport-personal-access-tokens></passport-personal-access-tokens>
|
|
|
-
|
|
|
+<div class="title">
|
|
|
+ <h3 class="font-weight-bold">Applications</h3>
|
|
|
+</div>
|
|
|
+<hr>
|
|
|
+@if(config('pixelfed.oauth_enabled') == true)
|
|
|
+ <passport-authorized-clients></passport-authorized-clients>
|
|
|
+ <passport-personal-access-tokens></passport-personal-access-tokens>
|
|
|
+@else
|
|
|
+ <p class="lead">OAuth has not been enabled on this instance.</p>
|
|
|
+@endif
|
|
|
@endsection
|
|
|
|
|
|
@push('scripts')
|
|
|
<script type="text/javascript" src="{{mix('js/developers.js')}}"></script>
|
|
|
<script type="text/javascript">
|
|
|
- new Vue({
|
|
|
- el: '#content'
|
|
|
- });
|
|
|
+ new Vue({
|
|
|
+ el: '#content'
|
|
|
+ });
|
|
|
</script>
|
|
|
@endpush
|