2017-01-11 01:02:32 -08:00
|
|
|
@extends('layouts/default')
|
|
|
|
|
|
|
|
{{-- Page title --}}
|
|
|
|
@section('title')
|
2017-01-11 04:05:32 -08:00
|
|
|
OAuth API Settings
|
2017-01-11 01:02:32 -08:00
|
|
|
@parent
|
|
|
|
@stop
|
|
|
|
|
2017-09-27 16:33:51 -07:00
|
|
|
@section('header_right')
|
|
|
|
<a href="{{ route('settings.index') }}" class="btn btn-default pull-right">{{ trans('general.back') }}</a>
|
|
|
|
@stop
|
|
|
|
|
2017-01-11 01:02:32 -08:00
|
|
|
{{-- Page content --}}
|
|
|
|
@section('content')
|
2017-01-25 05:03:30 -08:00
|
|
|
@if (!config('app.lock_passwords'))
|
2017-07-07 23:44:48 -07:00
|
|
|
<div id="app">
|
2017-10-01 13:59:07 -07:00
|
|
|
<passport-clients clients-url="{{ url('oauth/clients') }}"></passport-clients>
|
|
|
|
<passport-authorized-clients clients-url="{{ url('oauth/clients') }}" tokens-url="{{ url('oauth/tokens') }}"></passport-authorized-clients>
|
2017-07-07 23:44:48 -07:00
|
|
|
</div>
|
2017-01-25 05:03:30 -08:00
|
|
|
@else
|
|
|
|
<p class="help-block">{{ trans('general.feature_disabled') }}</p>
|
|
|
|
@endif
|
|
|
|
|
2017-01-11 01:02:32 -08:00
|
|
|
@stop
|
2017-01-25 21:29:23 -08:00
|
|
|
|
|
|
|
@section('moar_scripts')
|
2017-09-28 19:45:15 -07:00
|
|
|
<script nonce="{{ csrf_token() }}">
|
2017-01-25 21:29:23 -08:00
|
|
|
new Vue({
|
|
|
|
el: "#app",
|
|
|
|
});
|
|
|
|
</script>
|
2017-07-07 23:44:48 -07:00
|
|
|
@endsection
|