projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71fb75b
)
Apply suggestion to lib/mix/tasks/pleroma/user.ex
author
Ivan Tashkinov
<ivantbusiness@gmail.com>
Wed, 19 Jun 2019 19:39:53 +0000
(19:39 +0000)
committer
Ivan Tashkinov
<ivantbusiness@gmail.com>
Wed, 19 Jun 2019 19:39:53 +0000
(19:39 +0000)
lib/mix/tasks/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/pleroma/user.ex
b/lib/mix/tasks/pleroma/user.ex
index 3a5382d0ffbad2869484155076406b2a5ec55261..0efa745e4dbb7d9a0205932d24890e4df4fa173b 100644
(file)
--- 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)