mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Fix invalid type
lib/pleroma/web/auth/authenticator.ex:8:unknown_type Unknown type: User.t/0.
This commit is contained in:
parent
4f07116108
commit
83eece7764
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
defmodule Pleroma.Web.Auth.Authenticator do
|
defmodule Pleroma.Web.Auth.Authenticator do
|
||||||
@callback get_user(Plug.Conn.t()) :: {:ok, user :: struct()} | {:error, any()}
|
@callback get_user(Plug.Conn.t()) :: {:ok, user :: struct()} | {:error, any()}
|
||||||
@callback create_from_registration(Plug.Conn.t(), registration :: struct()) ::
|
@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 get_registration(Plug.Conn.t()) :: {:ok, registration :: struct()} | {:error, any()}
|
||||||
@callback handle_error(Plug.Conn.t(), any()) :: any()
|
@callback handle_error(Plug.Conn.t(), any()) :: any()
|
||||||
@callback auth_template() :: String.t() | nil
|
@callback auth_template() :: String.t() | nil
|
||||||
|
|
Loading…
Reference in a new issue