projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade Comeonin to v5
[akkoma]
/
lib
/
pleroma
/
web
/
auth
/
pleroma_authenticator.ex
diff --git
a/lib/pleroma/web/auth/pleroma_authenticator.ex
b/lib/pleroma/web/auth/pleroma_authenticator.ex
index cb09664ce0316ce7b35a4ceda76a00e6aaf46840..a8f554aa39e8b5f30c2ef5abdaf7f955a404e5a7 100644
(file)
--- a/
lib/pleroma/web/auth/pleroma_authenticator.ex
+++ b/
lib/pleroma/web/auth/pleroma_authenticator.ex
@@
-19,8
+19,8
@@
defmodule Pleroma.Web.Auth.PleromaAuthenticator do
{_, true} <- {:checkpw, AuthenticationPlug.checkpw(password, user.password_hash)} do
{:ok, user}
else
{_, true} <- {:checkpw, AuthenticationPlug.checkpw(password, user.password_hash)} do
{:ok, user}
else
- error ->
-
{:error, error}
+ {:error, _reason} = error -> error
+
error ->
{:error, error}
end
end
end
end