Directly redirect to the openid auth provider if that's the only auth method

This commit is contained in:
kolaente 2021-08-15 12:02:29 +02:00
parent a5687d78f5
commit 3aa316988b
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
5 changed files with 49 additions and 16 deletions

View file

@ -56,7 +56,9 @@ export default {
},
beforeCreate() {
this.$store.dispatch('config/update')
this.$store.dispatch('auth/checkAuth')
.then(() => {
this.$store.dispatch('auth/checkAuth')
})
setLanguage()
},