summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-01-20 17:33:37 -0500
committerMark Felder <feld@feld.me>2024-01-20 17:33:37 -0500
commit83eece7764243d5902df96d2a8a6b99d7465ddba (patch)
tree646574982a18a473b84ff8af2e6ed66440809a5d
parent4f0711610896cb76322d0f527cbea5ed9d0ef474 (diff)
downloadpleroma-83eece7764243d5902df96d2a8a6b99d7465ddba.tar.gz
pleroma-83eece7764243d5902df96d2a8a6b99d7465ddba.zip
Fix invalid type
lib/pleroma/web/auth/authenticator.ex:8:unknown_type Unknown type: User.t/0.
-rw-r--r--lib/pleroma/web/auth/authenticator.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/auth/authenticator.ex b/lib/pleroma/web/auth/authenticator.ex
index a0bd154db..01bf1575c 100644
--- a/lib/pleroma/web/auth/authenticator.ex
+++ b/lib/pleroma/web/auth/authenticator.ex
@@ -5,7 +5,7 @@
defmodule Pleroma.Web.Auth.Authenticator do
@callback get_user(Plug.Conn.t()) :: {:ok, user :: struct()} | {:error, any()}
@callback create_from_registration(Plug.Conn.t(), registration :: struct()) ::
- {:ok, User.t()} | {:error, any()}
+ {:ok, Pleroma.User.t()} | {:error, any()}
@callback get_registration(Plug.Conn.t()) :: {:ok, registration :: struct()} | {:error, any()}
@callback handle_error(Plug.Conn.t(), any()) :: any()
@callback auth_template() :: String.t() | nil