Compare commits

..

5 commits

Author SHA1 Message Date
Renovate Bot
87146a91c6 chore(deps): update dependency just to v1.42.1
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-15 00:11:58 +00:00
38db637495
fix: linting issue
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-09 17:23:05 +02:00
cbcd8904b3
fix: deprication warings 2025-07-09 17:19:17 +02:00
5f2ca91fb1 Merge pull request 'chore(deps): update renovate/renovate docker tag to v40.62' (#84) from renovate/renovate-renovate-40.x into main
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #84
2025-07-02 17:09:56 +02:00
Renovate Bot
0885de3471 chore(deps): update renovate/renovate docker tag to v40.62
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2025-07-02 12:52:01 +00:00
6 changed files with 10 additions and 9 deletions

View file

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

View file

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

View file

@ -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

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.
""")