mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
user: fix auth_active?/1 for remote users
This commit is contained in:
parent
0015d43e13
commit
f15183178c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue