From 714ad071ca683fc92f1f7627de89e5e60639b778 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 9 Oct 2020 14:46:11 -0700 Subject: [PATCH] Add API endpoint to API keys page // TODO - localize it --- resources/views/account/api.blade.php | 30 ++++++++++++++++++++------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/resources/views/account/api.blade.php b/resources/views/account/api.blade.php index 0be326edf..0a7c6bc0b 100644 --- a/resources/views/account/api.blade.php +++ b/resources/views/account/api.blade.php @@ -8,14 +8,28 @@ {{-- Page content --}} @section('content') - @if (!config('app.lock_passwords')) - - - @else -

{{ trans('general.feature_disabled') }}

- @endif + + +
+
+ + @if (!config('app.lock_passwords')) + + + @else +

{{ trans('general.feature_disabled') }}

+ @endif +
+
+

Your API endpoint is located at:
+ {{ url('/api/v1') }}

+ +

When you generate an API token, be sure to copy it down immediately as they will not be visible to you again.

+
+
+ @stop @section('moar_scripts')