Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
les
gancio
Commits
94db206c
Verified
Commit
94db206c
authored
Jul 04, 2021
by
les
Browse files
minor on dialog layout / authorize form
parent
7acd34f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
layouts/default.vue
View file @
94db206c
<
template
lang=
'pug'
>
v-app
v-app
(app)
Snackbar
Confirm
Nav
v-main
v-main
(app)
v-fade-transition(hide-on-leave)
nuxt
...
...
pages/Authorize.vue
View file @
94db206c
<
template
lang=
'pug'
>
v-row.mt-5(align='center' justify='center')
v-col(cols='12' md="6" lg="5" xl="4")
v-card(light)
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
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
v
-
spacer
v
-
btn
(
color
=
'
error
'
to
=
'
/
'
)
{{
$t
(
'
common.cancel
'
)
}}
v
-
btn
(:
href
=
'
authorizeURL
'
color
=
'
success
'
)
{{
$t
(
'
common.authorize
'
)
}}
.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.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
v
-
spacer
v
-
btn
(
color
=
'
error
'
to
=
'
/
'
)
{{
$t
(
'
common.cancel
'
)
}}
v
-
btn
(:
href
=
'
authorizeURL
'
color
=
'
success
'
)
{{
$t
(
'
common.authorize
'
)
}}
<
/template
>
<
script
>
...
...
server/federation/helpers.js
View file @
94db206c
...
...
@@ -195,7 +195,7 @@ const Helpers = {
// .update(req.body)
// .digest('base64')
// if (`SHA-256=${digest}` !== req.headers.signature) {
// log.warn
ing
(`Signature mismatch ${req.headers.signature} - ${digest}`)
// log.warn(`Signature mismatch ${req.headers.signature} - ${digest}`)
// return res.status(401).send('Signature mismatch')
// }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment