mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor on dialog layout / authorize form
This commit is contained in:
parent
7acd34f496
commit
94db206c2c
3 changed files with 17 additions and 18 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
// }
|
||||
|
||||
|
|
Loading…
Reference in a new issue