fix: linting issue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Moritz 2025-07-09 17:20:34 +02:00
parent cbcd8904b3
commit 38db637495
Signed by: moritz
GPG key ID: 1020A035E5DD0824
3 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ defmodule Mv.Accounts.User.Senders.SendNewUserConfirmationEmail do
@impl true
def send(user, token, _) do
new()
# TODO: Replace with your email
# Replace with email from env
|> from({"noreply", "noreply@example.com"})
|> to(to_string(user.email))
|> subject("Confirm your email address")

View file

@ -13,7 +13,7 @@ defmodule Mv.Accounts.User.Senders.SendPasswordResetEmail do
@impl true
def send(user, token, _) do
new()
# TODO: Replace with your email
# Replace with email from env
|> from({"noreply", "noreply@example.com"})
|> to(to_string(user.email))
|> subject("Reset your password")

View file

@ -33,8 +33,8 @@ defmodule MvWeb.AuthController do
caused_by: %Ash.Error.Forbidden{
errors: [%AshAuthentication.Errors.CannotConfirmUnconfirmedUser{}]
}
}} -> gettext(
"""
}} ->
gettext("""
You have already signed in another way, but have not confirmed your account.
You can confirm your account using the link we sent to you, or by resetting your password.
""")