mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-09-10 17:58:02 +02:00
Simplified AuthUri
This commit is contained in:
parent
16873d3c3e
commit
9c06b0f257
@ -132,9 +132,7 @@ export default {
|
||||
return this.$store.state.user.user
|
||||
},
|
||||
openidAuthUri() {
|
||||
const baseUrl = `${window.location.origin}/auth/openid`
|
||||
const callback = encodeURIComponent(window.location.href.split('?').shift())
|
||||
return `${baseUrl}?callback=${callback}`
|
||||
return `${this.$config.routerBasePath}/auth/openid?callback=${window.location.href.split('?').shift()}`
|
||||
},
|
||||
openIDButtonText() {
|
||||
return this.authFormData?.authOpenIDButtonText || 'Login with OpenId'
|
||||
|
Loading…
Reference in New Issue
Block a user