Compare commits

..

1 commit

Author SHA1 Message Date
Renovate Bot
a51f872541 chore(deps): update dependency just to v1.41.0
Some checks failed
continuous-integration/drone/push Build is failing
2025-07-02 17:09:31 +02:00
6 changed files with 9 additions and 10 deletions

View file

@ -118,7 +118,7 @@ environment:
steps: steps:
- name: renovate - name: renovate
image: renovate/renovate:40.62 image: renovate/renovate:40.60
environment: environment:
RENOVATE_CONFIG_FILE: "renovate_backend_config.js" RENOVATE_CONFIG_FILE: "renovate_backend_config.js"
RENOVATE_TOKEN: RENOVATE_TOKEN:

View file

@ -1,3 +1,3 @@
elixir 1.18.3-otp-27 elixir 1.18.3-otp-27
erlang 27.3.4 erlang 27.3.4
just 1.42.1 just 1.41.0

View file

@ -19,16 +19,15 @@ defmodule Mv.Accounts.User do
Currently password and SSO with Rauthy as OIDC provider Currently password and SSO with Rauthy as OIDC provider
""" """
authentication do authentication do
session_identifier Application.compile_env(:mv, :session_identifier, :jti) session_identifier Application.get_env(:mv, :session_identifier)
tokens do tokens do
enabled? true enabled? true
token_resource Mv.Accounts.Token token_resource Mv.Accounts.Token
require_token_presence_for_authentication? Application.compile_env( require_token_presence_for_authentication? Application.get_env(
:mv, :mv,
:require_token_presence_for_authentication, :require_token_presence_for_authentication
false
) )
store_all_tokens? true store_all_tokens? true

View file

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

View file

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

View file

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