minor on dialog layout / authorize form
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<template lang='pug'>
|
<template lang='pug'>
|
||||||
v-app
|
v-app(app)
|
||||||
Snackbar
|
Snackbar
|
||||||
Confirm
|
Confirm
|
||||||
Nav
|
Nav
|
||||||
|
|
||||||
v-main
|
v-main(app)
|
||||||
v-fade-transition(hide-on-leave)
|
v-fade-transition(hide-on-leave)
|
||||||
nuxt
|
nuxt
|
||||||
|
|
||||||
|
|||||||
@@ -1,19 +1,18 @@
|
|||||||
<template lang='pug'>
|
<template lang='pug'>
|
||||||
v-row.mt-5(align='center' justify='center')
|
.d-flex.justify-space-around
|
||||||
v-col(cols='12' md="6" lg="5" xl="4")
|
v-card.mt-5(max-width='600px')
|
||||||
v-card(light)
|
v-card-title {{settings.title}} - {{$t('common.authorize')}}
|
||||||
v-card-title {{settings.title}} - {{$t('common.authorize')}}
|
v-card-text
|
||||||
v-card-text
|
u {{$auth.user.email}}
|
||||||
u {{$auth.user.email}}
|
div
|
||||||
div
|
p(v-html="$t('oauth.authorization_request', { app: client.name, instance_name: settings.title })")
|
||||||
p(v-html="$t('oauth.authorization_request', { app: client.name, instance_name: settings.title })")
|
ul.mb-2
|
||||||
ul
|
li(v-for="s in scope.split(' ')") {{$t(`oauth.scopes.${scope}`)}}
|
||||||
li(v-for="s in scope.split(' ')") {{$t(`oauth.scopes.${scope}`)}}
|
span(v-html="$t('oauth.redirected_to', {url: $route.query.redirect_uri})")
|
||||||
span(v-html="$t('oauth.redirected_to', {url: $route.query.redirect_uri})")
|
v-card-actions
|
||||||
v-card-actions
|
v-spacer
|
||||||
v-spacer
|
v-btn(color='error' to='/') {{$t('common.cancel')}}
|
||||||
v-btn(color='error' to='/') {{$t('common.cancel')}}
|
v-btn(:href='authorizeURL' color='success') {{$t('common.authorize')}}
|
||||||
v-btn(:href='authorizeURL' color='success') {{$t('common.authorize')}}
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ const Helpers = {
|
|||||||
// .update(req.body)
|
// .update(req.body)
|
||||||
// .digest('base64')
|
// .digest('base64')
|
||||||
// if (`SHA-256=${digest}` !== req.headers.signature) {
|
// if (`SHA-256=${digest}` !== req.headers.signature) {
|
||||||
// log.warning(`Signature mismatch ${req.headers.signature} - ${digest}`)
|
// log.warn(`Signature mismatch ${req.headers.signature} - ${digest}`)
|
||||||
// return res.status(401).send('Signature mismatch')
|
// return res.status(401).send('Signature mismatch')
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user