Various fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-09-23 10:26:38 +02:00
parent 9abb2f3526
commit df5c6b4008
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
2 changed files with 3 additions and 3 deletions

View file

@ -21,8 +21,8 @@ config :mobilizon, :instance,
upload_limit: 16_000_000, upload_limit: 16_000_000,
avatar_upload_limit: 2_000_000, avatar_upload_limit: 2_000_000,
banner_upload_limit: 4_000_000, banner_upload_limit: 4_000_000,
email_from: "noreply@localhost", email_from: System.get_env("MOBILIZON_INSTANCE_EMAIL") || "noreply@localhost",
email_reply_to: "noreply@localhost" email_reply_to: System.get_env("MOBILIZON_INSTANCE_EMAIL") || "noreply@localhost"
config :mime, :types, %{ config :mime, :types, %{
"application/activity+json" => ["activity-json"], "application/activity+json" => ["activity-json"],

View file

@ -13,7 +13,7 @@
<div class="column"> <div class="column">
<form v-if="!validationSent"> <form v-if="!validationSent">
<b-field <b-field
:label="t('Username')" :label="$t('Username')"
:type="errors.preferred_username ? 'is-danger' : null" :type="errors.preferred_username ? 'is-danger' : null"
:message="errors.preferred_username" :message="errors.preferred_username"
> >