From 224d75fac509a7679ffa12b5311f845fbfa81ae3 Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 15 Jul 2025 17:41:30 -0500 Subject: [PATCH] Update old auth alert messages, add link to github discussion --- components/connection/ServerConnectForm.vue | 9 ++++++--- strings/en-us.json | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/components/connection/ServerConnectForm.vue b/components/connection/ServerConnectForm.vue index 8b799da2..37c17485 100644 --- a/components/connection/ServerConnectForm.vue +++ b/components/connection/ServerConnectForm.vue @@ -163,12 +163,15 @@ export default { cancelText: this.$strings.ButtonOk }) }, - showOldAuthWarningDialog() { - Dialog.alert({ + async showOldAuthWarningDialog() { + const confirmResult = await Dialog.confirm({ title: 'Old Server Auth Warning', message: this.$strings.MessageOldServerAuthWarningHelp, - cancelText: this.$strings.ButtonOk + cancelButtonTitle: this.$strings.ButtonReadMore }) + if (!confirmResult.value) { + window.open('https://github.com/advplyr/audiobookshelf/discussions/4460', '_blank') + } }, checkIdUuid(userId) { return /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(userId) diff --git a/strings/en-us.json b/strings/en-us.json index fbd8e24a..5c38599b 100644 --- a/strings/en-us.json +++ b/strings/en-us.json @@ -325,9 +325,9 @@ "MessageNoSeries": "No series", "MessageNoUpdatesWereNecessary": "No updates were necessary", "MessageNoUserPlaylists": "You have no playlists", - "MessageOldServerAuthReLoginRequired": "A new authentication system was added in server v2.26.0. Please re-login to use the more secure authentication.", + "MessageOldServerAuthReLoginRequired": "Authentication has been improved for security in server v2.26.0. All users are required to re-login.", "MessageOldServerAuthWarning": "Server is using out-dated authentication", - "MessageOldServerAuthWarningHelp": "Authentication was updated in server v2.26.0 to use a more secure method. A future app update will require server version v2.26.0 or higher. You will need to re-login after updating the server.", + "MessageOldServerAuthWarningHelp": "Authentication was updated in server v2.26.0 for security. It is strongly recommended to update the server to the latest version.", "MessageOldServerConnectionWarning": "Server connection config is using an old user ID. Please delete and re-add this server connection.", "MessageOldServerConnectionWarningHelp": "You originally set up the connection to this server prior to the database migration in 2.3.0, released June 2023. A future server update will remove the ability to sign in with this old connection. Please delete the existing server connection and connect again (using the same server address and credentials). If you have any downloaded media on this device, the media will need to be downloaded again to sync with the server.", "MessagePodcastSearchField": "Enter search term or RSS feed URL",