This commit is contained in:
Finn Dittmar 2025-09-03 01:56:34 +03:00 committed by GitHub
commit 1f9f2a4526
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,7 @@ export default {
return this.$store.state.user.user
},
openidAuthUri() {
return `${process.env.serverUrl}/auth/openid?callback=${location.href.split('?').shift()}`
return `${this.$config.routerBasePath}/auth/openid?callback=${window.location.href.split('?').shift()}`
},
openIDButtonText() {
return this.authFormData?.authOpenIDButtonText || 'Login with OpenId'