user: fix auth_active?/1 for remote users
authorWilliam Pitcock <nenolod@dereferenced.org>
Wed, 9 Jan 2019 06:45:17 +0000 (06:45 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Wed, 9 Jan 2019 06:45:17 +0000 (06:45 +0000)
lib/pleroma/user.ex

index 4d0f68cd6ddbaa09567c82002c9664ea322edca7..06049dc626d36bc65b9ec78b0f7cf083e6d11804 100644 (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