Skip to content

Commit

Permalink
fix(oauth-flow): Fixed page title on the redirect page after OAuth2 c…
Browse files Browse the repository at this point in the history
…ode has been received
  • Loading branch information
andris9 committed Dec 30, 2024
1 parent fccbe91 commit b2c0c5a
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 33 deletions.
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"homepage": "https://emailengine.app/",
"dependencies": {
"@bugsnag/js": "8.1.2",
"@bull-board/api": "6.5.3",
"@bull-board/hapi": "6.5.3",
"@bull-board/api": "6.5.4",
"@bull-board/hapi": "6.5.4",
"@elastic/elasticsearch": "8.15.3",
"@hapi/bell": "13.0.2",
"@hapi/boom": "10.0.1",
Expand Down
2 changes: 1 addition & 1 deletion sbom.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions static/licenses.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1>EmailEngine v2.49.4</h1><p>EmailEngine includes code from the following soft
</tr>
<tr>
<td><a href="https://npmjs.com/package/@bull-board/api">@bull-board/api</a></td>
<td>6.5.3</td>
<td>6.5.4</td>
<td>MIT</td>
<td>felixmosh</td>
<td></td>
Expand All @@ -126,7 +126,7 @@ <h1>EmailEngine v2.49.4</h1><p>EmailEngine includes code from the following soft
</tr>
<tr>
<td><a href="https://npmjs.com/package/@bull-board/hapi">@bull-board/hapi</a></td>
<td>6.5.3</td>
<td>6.5.4</td>
<td>MIT</td>
<td>felixmosh</td>
<td></td>
Expand All @@ -136,7 +136,7 @@ <h1>EmailEngine v2.49.4</h1><p>EmailEngine includes code from the following soft
</tr>
<tr>
<td><a href="https://npmjs.com/package/@bull-board/ui">@bull-board/ui</a></td>
<td>6.5.3</td>
<td>6.5.4</td>
<td>MIT</td>
<td>felixmosh</td>
<td></td>
Expand Down
23 changes: 12 additions & 11 deletions translations/messages.pot
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=ascii\n"
"POT-Creation-Date: 2024-12-25 18:49+0000\n"
"POT-Creation-Date: 2024-12-30 10:31+0000\n"

#: views/config/license.hbs:49
msgid "%d day"
msgid_plural "%d days"
msgstr[0] ""
msgstr[1] ""

#: views/redirect.hbs:1
msgid "Click <a href=\"%s\">here</a> to continue&mldr;"
msgstr ""

#: views/unsubscribe.hbs:1
#: views/unsubscribe.hbs:79
msgid "Unsubscribe"
Expand Down Expand Up @@ -53,8 +57,12 @@ msgstr ""
msgid "Enter your email address"
msgstr ""

#: views/redirect.hbs:1
msgid "Click <a href=\"%s\">here</a> to continue&mldr;"
#: views/accounts/register/index.hbs:2
msgid "Choose your email account provider"
msgstr ""

#: views/accounts/register/index.hbs:15
msgid "Standard IMAP"
msgstr ""

#: views/accounts/register/imap.hbs:11
Expand All @@ -80,14 +88,6 @@ msgstr ""
msgid "Continue"
msgstr ""

#: views/accounts/register/index.hbs:2
msgid "Choose your email account provider"
msgstr ""

#: views/accounts/register/index.hbs:15
msgid "Standard IMAP"
msgstr ""

#: views/accounts/register/imap-server.hbs:19
msgid "IMAP"
msgstr ""
Expand Down Expand Up @@ -259,6 +259,7 @@ msgstr ""
#: lib/routes-ui.js:6840
#: lib/routes-ui.js:7068
#: lib/routes-ui.js:7104
#: workers/api.js:2127
msgid "Email Account Setup"
msgstr ""

Expand Down
5 changes: 4 additions & 1 deletion workers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2123,7 +2123,10 @@ const init = async () => {
// have to use HTML redirect, otherwise samesite=strict cookies are not passed on
return h.view(
'redirect',
{ httpRedirectUrl },
{
pageTitleFull: gt.gettext('Email Account Setup'),
httpRedirectUrl
},
{
layout: 'public'
}
Expand Down

0 comments on commit b2c0c5a

Please sign in to comment.