feat: redirect to calculated url everywhere
This commit is contained in:
parent
ccaed029f2
commit
b7aa7891e9
3 changed files with 12 additions and 5 deletions
|
|
@ -83,7 +83,7 @@ export default {
|
|||
ctx.state.auth.openidConnect.providers.length === 1 &&
|
||||
window.location.pathname.startsWith('/login') // Kinda hacky, but prevents an endless loop.
|
||||
) {
|
||||
redirectToProvider(ctx.state.auth.openidConnect.providers[0], ctx.state.auth.openidConnect.redirectUrl)
|
||||
redirectToProvider(ctx.state.auth.openidConnect.providers[0])
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Reference in a new issue