mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-15 16:29:37 +00:00
Add:Authentication setting to show a custom message on login #2552
This commit is contained in:
parent
ae387ab397
commit
0b334cf957
5 changed files with 34 additions and 6 deletions
|
|
@ -28,6 +28,8 @@
|
|||
|
||||
<div class="w-full h-px bg-white bg-opacity-10 my-4" />
|
||||
|
||||
<p v-if="loginCustomMessage" class="py-2 default-style mb-2" v-html="loginCustomMessage"></p>
|
||||
|
||||
<p v-if="error" class="text-error text-center py-2">{{ error }}</p>
|
||||
|
||||
<form v-show="login_local" @submit.prevent="submitForm">
|
||||
|
|
@ -113,6 +115,9 @@ export default {
|
|||
},
|
||||
openIDButtonText() {
|
||||
return this.authFormData?.authOpenIDButtonText || 'Login with OpenId'
|
||||
},
|
||||
loginCustomMessage() {
|
||||
return this.authFormData?.authLoginCustomMessage || null
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue