Skip to content

Commit

Permalink
chore(user): make login_count public
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Feb 21, 2024
1 parent d523b38 commit 7672bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/placeos-models/user.cr
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,13 @@ module PlaceOS::Model
:email_digest, :email, :nickname, :name, :first_name, :last_name, :groups,
:country, :building, :image, :created_at, :authority_id, :deleted,
:department, :preferred_language, :staff_id, :phone, :work_preferences,
:work_overrides,
:work_overrides, :login_count, :last_login,
]

{% begin %}
ADMIN_DATA = {{
PUBLIC_DATA + [
:sys_admin, :support, :misc, :login_name, :card_number, :ui_theme, :login_count, :last_login,
:sys_admin, :support, :misc, :login_name, :card_number, :ui_theme,
]
}}
{% end %}
Expand Down

0 comments on commit 7672bbd

Please sign in to comment.