user: fix auth_active?/1 for remote users
This commit is contained in:
parent
0015d43e13
commit
f15183178c
@ -44,7 +44,7 @@ defmodule Pleroma.User do
|
|||||||
timestamps()
|
timestamps()
|
||||||
end
|
end
|
||||||
|
|
||||||
def auth_active?(%User{local: false}), do: false
|
def auth_active?(%User{local: false}), do: true
|
||||||
|
|
||||||
def auth_active?(%User{info: %User.Info{confirmation_pending: false}}), do: true
|
def auth_active?(%User{info: %User.Info{confirmation_pending: false}}), do: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user