@extends('layouts.librenmsv1') @section('title', __('API Tokens')) @section('content')
{{ __('API Tokens') }} @if (session('status'))
{{ session('status') }}
@endif @if (session('api_token_plain'))

{{ session('api_token_message', __('Copy this token now; it will not be shown again.')) }}

@endif @if ($errors->any())
@endif

{{ __('Tokens are shown only once when created or reset. Use the REST API with the X-Auth-Token header.') }}

@forelse ($tokens as $api) user && $api->user->auth_type !== $legacy_auth_type) bgcolor="lightgrey" @endif> @empty @endforelse
{{ __('Description') }} {{ __('Disabled') }} {{ __('Reset token') }} {{ __('Remove') }}
@if($api->description !== ''){{ $api->description }}@else‐‐@endif disabled) checked @endif>
@csrf
{{ __('No API tokens yet.') }}
@endsection @section('scripts') @endsection