Compare commits

..

1 commit

Author SHA1 Message Date
Renovate Bot
856da3fdc1 chore(deps): update ghcr.io/sebadob/rauthy docker tag to v0.31.1
Some checks failed
continuous-integration/drone/push Build is failing
2025-07-09 00:09:26 +00:00
5 changed files with 8 additions and 9 deletions

View file

@ -33,7 +33,7 @@ services:
rauthy:
container_name: rauthy-dev
image: ghcr.io/sebadob/rauthy:0.31.2
image: ghcr.io/sebadob/rauthy:0.31.1
environment:
- LOCAL_TEST=true
- SMTP_URL=mailcrab

View file

@ -19,16 +19,15 @@ defmodule Mv.Accounts.User do
Currently password and SSO with Rauthy as OIDC provider
"""
authentication do
session_identifier Application.compile_env(:mv, :session_identifier, :jti)
session_identifier Application.get_env(:mv, :session_identifier)
tokens do
enabled? true
token_resource Mv.Accounts.Token
require_token_presence_for_authentication? Application.compile_env(
require_token_presence_for_authentication? Application.get_env(
:mv,
:require_token_presence_for_authentication,
false
:require_token_presence_for_authentication
)
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()
# Replace with email from env
# TODO: Replace with your email
|> 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()
# Replace with email from env
# TODO: Replace with your email
|> 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.
""")