mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
8e30973f3a
commit
3ff4b9dcef
1 changed files with 9 additions and 7 deletions
|
@ -25,12 +25,6 @@ export default {
|
|||
layout: 'modal',
|
||||
name: 'Authorize',
|
||||
middleware: ['auth'],
|
||||
head: { title: 'Authorize' },
|
||||
data () {
|
||||
return {
|
||||
client: { name: 'Test' }
|
||||
}
|
||||
},
|
||||
async asyncData ({ $axios, query }) {
|
||||
// retrieve client validity
|
||||
try {
|
||||
|
@ -40,6 +34,11 @@ export default {
|
|||
console.error(e)
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
client: { name: 'Test' }
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['settings']),
|
||||
authorizeURL () {
|
||||
|
@ -48,5 +47,8 @@ export default {
|
|||
return `oauth/authorize?${query}`
|
||||
}
|
||||
},
|
||||
head () {
|
||||
return { title: `${this.settings.title} - Authorize` }
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue