minor on dialog layout / authorize form

This commit is contained in:
les 2021-07-04 00:46:08 +02:00
parent 7acd34f496
commit 94db206c2c
No known key found for this signature in database
GPG key ID: 352918250B012177
3 changed files with 17 additions and 18 deletions

View file

@ -1,10 +1,10 @@
<template lang='pug'>
v-app
v-app(app)
Snackbar
Confirm
Nav
v-main
v-main(app)
v-fade-transition(hide-on-leave)
nuxt

View file

@ -1,13 +1,12 @@
<template lang='pug'>
v-row.mt-5(align='center' justify='center')
v-col(cols='12' md="6" lg="5" xl="4")
v-card(light)
.d-flex.justify-space-around
v-card.mt-5(max-width='600px')
v-card-title {{settings.title}} - {{$t('common.authorize')}}
v-card-text
u {{$auth.user.email}}
div
p(v-html="$t('oauth.authorization_request', { app: client.name, instance_name: settings.title })")
ul
ul.mb-2
li(v-for="s in scope.split(' ')") {{$t(`oauth.scopes.${scope}`)}}
span(v-html="$t('oauth.redirected_to', {url: $route.query.redirect_uri})")
v-card-actions

View file

@ -195,7 +195,7 @@ const Helpers = {
// .update(req.body)
// .digest('base64')
// 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')
// }