From: Ivan Tashkinov Date: Wed, 19 Jun 2019 19:39:53 +0000 (+0000) Subject: Apply suggestion to lib/mix/tasks/pleroma/user.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=363618207c03188797be90b8c1cf7b3b293f557d;p=akkoma Apply suggestion to lib/mix/tasks/pleroma/user.ex --- 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)