From cbcd8904b3adeab719ccf4e4b5742b64dc5f6820 Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 9 Jul 2025 17:19:17 +0200 Subject: [PATCH] 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