You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible/auth/totp/encrypted_binary.ex

8 lines
208 B
Elixir

defmodule Plausible.Auth.TOTP.EncryptedBinary do
@moduledoc """
Defines an Ecto type so Cloak.Ecto can encrypt/decrypt a binary field.
"""
use Cloak.Ecto.Binary, vault: Plausible.Auth.TOTP.Vault
end