Show user disabled status in mix task

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-10-13 15:20:30 +02:00
parent edfcacf5ac
commit 53c4f5dfde
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -20,6 +20,7 @@ defmodule Mix.Tasks.Mobilizon.Users.Show do
Mix.shell().info("""
Informations for the user #{user.email}:
- Activated: #{user.confirmed_at}
- Disabled: #{user.disabled}
- Role: #{user.role}
#{display_actors(actors)}
""")