From 81a88a0b1a27180d64d480d369a0130834827b48 Mon Sep 17 00:00:00 2001
From: Bubka <858858+Bubka@users.noreply.github.com>
Date: Mon, 16 May 2022 23:27:43 +0200
Subject: [PATCH] Fix oauth setting view returning an error when using an auth
 proxy

---
 resources/js/views/settings/OAuth.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/js/views/settings/OAuth.vue b/resources/js/views/settings/OAuth.vue
index c7f6f7fc..8f632710 100644
--- a/resources/js/views/settings/OAuth.vue
+++ b/resources/js/views/settings/OAuth.vue
@@ -84,7 +84,7 @@
 
                 this.isFetching = true
 
-                await this.axios.get('/oauth/personal-access-tokens')
+                await this.axios.get('/oauth/personal-access-tokens', {returnError: true})
                 .then(response => {
                     const tokens = []