user: fix auth_active?/1 for remote users

This commit is contained in:
William Pitcock 2019-01-09 06:45:17 +00:00
parent 0015d43e13
commit f15183178c

View file

@ -44,7 +44,7 @@ defmodule Pleroma.User do
timestamps()
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