diff options
author | Rin Toshaka <rinpatch@sdf.org> | 2018-12-02 20:27:49 +0100 |
---|---|---|
committer | Rin Toshaka <rinpatch@sdf.org> | 2018-12-02 20:27:49 +0100 |
commit | 03b2d1016d25ab2b17a5a511249b4df59c4743fd (patch) | |
tree | 45c2fcccad41ee831b824f2a7d0f0419507e4e56 | |
parent | 57c71f846880083d8a78247f433713963c284ab9 (diff) | |
download | pleroma-03b2d1016d25ab2b17a5a511249b4df59c4743fd.tar.gz |
F O R M A T I N G
-rw-r--r-- | lib/mix/tasks/pleroma/instance.ex | 1 | ||||
-rw-r--r-- | lib/mix/tasks/pleroma/user.ex | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/mix/tasks/pleroma/instance.ex b/lib/mix/tasks/pleroma/instance.ex index 05653c238..6a85880bf 100644 --- a/lib/mix/tasks/pleroma/instance.ex +++ b/lib/mix/tasks/pleroma/instance.ex @@ -145,7 +145,6 @@ defmodule Mix.Tasks.Pleroma.Instance do end end - defp escape_sh_path(path) do ~S(') <> String.replace(path, ~S('), ~S(\')) <> ~S(') end diff --git a/lib/mix/tasks/pleroma/user.ex b/lib/mix/tasks/pleroma/user.ex index c23c5cdf3..39825762d 100644 --- a/lib/mix/tasks/pleroma/user.ex +++ b/lib/mix/tasks/pleroma/user.ex @@ -16,7 +16,7 @@ defmodule Mix.Tasks.Pleroma.User do - `--password PASSWORD` - the user's password - `--moderator`/`--no-moderator` - whether the user is a moderator - `--admin`/`--no-admin` - whether the user is an admin - + ## Generate an invite link. mix pleroma.user invite @@ -276,9 +276,9 @@ defmodule Mix.Tasks.Pleroma.User do else _ -> Mix.shell().error("Could not create invite token.") + end end - end defp set_locked(nickname, value) do Mix.Ecto.ensure_started(Repo, []) |