mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01:00
F O R M A T I N G
This commit is contained in:
parent
57c71f8468
commit
03b2d1016d
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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, [])
|
||||
|
||||
|
|
Loading…
Reference in a new issue