fix: deprication warings

This commit is contained in:
Moritz 2025-07-09 17:19:17 +02:00
parent 5f2ca91fb1
commit cbcd8904b3
Signed by: moritz
GPG key ID: 1020A035E5DD0824

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