aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/auth
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-07-29 16:30:47 +0000
committerlain <lain@soykaf.club>2019-07-29 16:30:47 +0000
commit1dfde4151ca096742da593160d33a629494c9f1c (patch)
tree8999d2c1ccdea93e55e1ac7961778bc8d9054873 /lib/pleroma/web/auth
parent3b8cd27b053e08bfb06a248033477efdb9e78684 (diff)
parentb93498eb5289dc92587b77c316ed9f697bb9e5c8 (diff)
downloadpleroma-1dfde4151ca096742da593160d33a629494c9f1c.tar.gz
Merge branch 'refactor/use-constants' into 'develop'
refactoring: begin to use constants See merge request pleroma/pleroma!1500
Diffstat (limited to 'lib/pleroma/web/auth')
-rw-r--r--lib/pleroma/web/auth/authenticator.ex3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pleroma/web/auth/authenticator.ex b/lib/pleroma/web/auth/authenticator.ex
index d4e0ffa80..dd49987f7 100644
--- a/lib/pleroma/web/auth/authenticator.ex
+++ b/lib/pleroma/web/auth/authenticator.ex
@@ -21,8 +21,7 @@ defmodule Pleroma.Web.Auth.Authenticator do
def create_from_registration(plug, registration),
do: implementation().create_from_registration(plug, registration)
- @callback get_registration(Plug.Conn.t()) ::
- {:ok, Registration.t()} | {:error, any()}
+ @callback get_registration(Plug.Conn.t()) :: {:ok, Registration.t()} | {:error, any()}
def get_registration(plug), do: implementation().get_registration(plug)
@callback handle_error(Plug.Conn.t(), any()) :: any()