This commit is contained in:
Finn Dittmar 2025-12-17 21:56:17 +01:00 committed by GitHub
commit 5b557e3951
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'