aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantbusiness@gmail.com>2019-06-19 19:39:53 +0000
committerIvan Tashkinov <ivantbusiness@gmail.com>2019-06-19 19:39:53 +0000
commit363618207c03188797be90b8c1cf7b3b293f557d (patch)
tree67485a127035c520ca3633e9722428446445f826 /lib
parent71fb75b7ef6bb847a381ce1b86bea9bef35a3a14 (diff)
downloadpleroma-363618207c03188797be90b8c1cf7b3b293f557d.tar.gz
Apply suggestion to lib/mix/tasks/pleroma/user.ex
Diffstat (limited to 'lib')
-rw-r--r--lib/mix/tasks/pleroma/user.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/user.ex b/lib/mix/tasks/pleroma/user.ex
index 3a5382d0f..0efa745e4 100644
--- a/lib/mix/tasks/pleroma/user.ex
+++ b/lib/mix/tasks/pleroma/user.ex
@@ -415,7 +415,7 @@ defmodule Mix.Tasks.Pleroma.User do
def run(["sign_out", nickname]) do
Common.start_pleroma()
- with %User{} = user <- User.get_cached_by_nickname(nickname) do
+ with %User{local: true} = user <- User.get_cached_by_nickname(nickname) do
OAuth.Token.delete_user_tokens(user)
OAuth.Authorization.delete_user_authorizations(user)