mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-23 02:58:17 +02:00
Update old auth alert messages, add link to github discussion
This commit is contained in:
parent
f4e0a6121f
commit
224d75fac5
2 changed files with 8 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue