From 856da3fdc129432deab0ddd5b945fd22605a6d55 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 9 Jul 2025 00:09:26 +0000 Subject: [PATCH 1/4] chore(deps): update ghcr.io/sebadob/rauthy docker tag to v0.31.1 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index fc911c3..a18f0ea 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,7 +33,7 @@ services: rauthy: container_name: rauthy-dev - image: ghcr.io/sebadob/rauthy:0.30.2 + image: ghcr.io/sebadob/rauthy:0.31.1 environment: - LOCAL_TEST=true - SMTP_URL=mailcrab From cbcd8904b3adeab719ccf4e4b5742b64dc5f6820 Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 9 Jul 2025 17:19:17 +0200 Subject: [PATCH 2/4] fix: deprication warings --- lib/accounts/user.ex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/accounts/user.ex b/lib/accounts/user.ex index 15e3a22..0de4a38 100644 --- a/lib/accounts/user.ex +++ b/lib/accounts/user.ex @@ -19,15 +19,16 @@ defmodule Mv.Accounts.User do Currently password and SSO with Rauthy as OIDC provider """ authentication do - session_identifier Application.get_env(:mv, :session_identifier) + session_identifier Application.compile_env(:mv, :session_identifier, :jti) tokens do enabled? true token_resource Mv.Accounts.Token - require_token_presence_for_authentication? Application.get_env( + require_token_presence_for_authentication? Application.compile_env( :mv, - :require_token_presence_for_authentication + :require_token_presence_for_authentication, + false ) store_all_tokens? true From 38db637495bde052f964cf6b6f941c94ff309961 Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 9 Jul 2025 17:20:34 +0200 Subject: [PATCH 3/4] fix: linting issue --- .../accounts/user/senders/send_new_user_confirmation_email.ex | 2 +- lib/mv/accounts/user/senders/send_password_reset_email.ex | 2 +- lib/mv_web/controllers/auth_controller.ex | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/mv/accounts/user/senders/send_new_user_confirmation_email.ex b/lib/mv/accounts/user/senders/send_new_user_confirmation_email.ex index 7fe229c..9e34f29 100644 --- a/lib/mv/accounts/user/senders/send_new_user_confirmation_email.ex +++ b/lib/mv/accounts/user/senders/send_new_user_confirmation_email.ex @@ -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") diff --git a/lib/mv/accounts/user/senders/send_password_reset_email.ex b/lib/mv/accounts/user/senders/send_password_reset_email.ex index fe1cdb0..7c33d2e 100644 --- a/lib/mv/accounts/user/senders/send_password_reset_email.ex +++ b/lib/mv/accounts/user/senders/send_password_reset_email.ex @@ -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") diff --git a/lib/mv_web/controllers/auth_controller.ex b/lib/mv_web/controllers/auth_controller.ex index 42299f4..a8375d1 100644 --- a/lib/mv_web/controllers/auth_controller.ex +++ b/lib/mv_web/controllers/auth_controller.ex @@ -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. """) From 8cb023dc613e71f2b88680c4f5fe87e164544863 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 17 Jul 2025 00:32:13 +0000 Subject: [PATCH 4/4] chore(deps): update ghcr.io/sebadob/rauthy docker tag to v0.31.2 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index fc911c3..fabe6b1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,7 +33,7 @@ services: rauthy: container_name: rauthy-dev - image: ghcr.io/sebadob/rauthy:0.30.2 + image: ghcr.io/sebadob/rauthy:0.31.2 environment: - LOCAL_TEST=true - SMTP_URL=mailcrab