Upgrade wms-core and fix mail identity creating from backend

This commit is contained in:
Alice Gaudon 2020-07-27 17:31:46 +02:00
parent 4404906b23
commit f609d4b751
3 changed files with 6 additions and 4 deletions

View File

@ -37,6 +37,7 @@ import MagicLink from "wms-core/auth/models/MagicLink";
import AddNameToUsers from "./migrations/AddNameToUsers";
import CreateMailTables from "./migrations/CreateMailTables";
import MailboxBackendController from "./controllers/MailboxBackendController";
import RedirectBackComponent from "wms-core/components/RedirectBackComponent";
export default class App extends Application {
private readonly port: number;
@ -76,6 +77,7 @@ export default class App extends Application {
this.use(expressAppComponent);
this.use(new NunjucksComponent());
this.use(new LogRequestsComponent());
this.use(new RedirectBackComponent());
// Static files
this.use(new ServeStaticDirectoryComponent('public'));

View File

@ -39,7 +39,7 @@
</tbody>
</table>
<form action="{{ route('backend-create-mail-identity', id) }}" method="POST" class="sub-panel">
<form action="{{ route('backend-create-mail-identity', mailbox.id) }}" method="POST" class="sub-panel">
<h3>{% if mailboxIdentity == null %}Create a mailbox{% else %}Create a new mail identity{% endif %}</h3>
<div class="inline-fields">

View File

@ -9891,9 +9891,9 @@ widest-line@^3.1.0:
string-width "^4.0.0"
wms-core@^0:
version "0.19.31"
resolved "https://registry.toot.party/wms-core/-/wms-core-0.19.31.tgz#6305cf0d742ac5758a11a8ad8ca5316eaf99d4e7"
integrity sha512-tbyxn84c9xEdPwsw6OySwstdjc6dSNvWpbEDY/bq3cmJ87Q3WrIEweBRTvVuaxoR0ZISyPAL9vk4ZXnB71NCTg==
version "0.19.35"
resolved "https://registry.toot.party/wms-core/-/wms-core-0.19.35.tgz#572f426b34fd39457b307b66f0ecdab19f747f35"
integrity sha512-Ny5brdENzmGPOZjPTIqr+9NqbpGTzQzBXrFv9Rj1YJwZ9QxyLL9YIrwY5ZuTc4jHaYPkFvFlEQZZ/jQ7g9rSOg==
dependencies:
argon2 "^0.26.2"
compression "^1.7.4"