Show user disabled status in mix task
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
edfcacf5ac
commit
53c4f5dfde
|
@ -20,6 +20,7 @@ defmodule Mix.Tasks.Mobilizon.Users.Show do
|
||||||
Mix.shell().info("""
|
Mix.shell().info("""
|
||||||
Informations for the user #{user.email}:
|
Informations for the user #{user.email}:
|
||||||
- Activated: #{user.confirmed_at}
|
- Activated: #{user.confirmed_at}
|
||||||
|
- Disabled: #{user.disabled}
|
||||||
- Role: #{user.role}
|
- Role: #{user.role}
|
||||||
#{display_actors(actors)}
|
#{display_actors(actors)}
|
||||||
""")
|
""")
|
||||||
|
|
Loading…
Reference in a new issue