mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Prevent demo users from deleting/creating API keys
This commit is contained in:
parent
2a7469d898
commit
ec88d54a5b
|
@ -8,7 +8,10 @@
|
|||
|
||||
{{-- Page content --}}
|
||||
@section('content')
|
||||
|
||||
<passport-personal-access-tokens></passport-personal-access-tokens>
|
||||
@if (!config('app.lock_passwords'))
|
||||
<passport-personal-access-tokens></passport-personal-access-tokens>
|
||||
@else
|
||||
<p class="help-block">{{ trans('general.feature_disabled') }}</p>
|
||||
@endif
|
||||
|
||||
@stop
|
||||
|
|
|
@ -8,7 +8,11 @@
|
|||
|
||||
{{-- Page content --}}
|
||||
@section('content')
|
||||
|
||||
@if (!config('app.lock_passwords'))
|
||||
<passport-clients></passport-clients>
|
||||
<passport-authorized-clients></passport-authorized-clients>
|
||||
@else
|
||||
<p class="help-block">{{ trans('general.feature_disabled') }}</p>
|
||||
@endif
|
||||
|
||||
@stop
|
||||
|
|
Loading…
Reference in a new issue