1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/app/views/api/auth_providers/mapping_fields.json.jbuilder

9 lines
575 B
Plaintext
Raw Normal View History

2016-03-23 18:39:41 +01:00
# we protect some fields are they are designed to be managed by the system and must not be updated externally
json.user User.column_names - %w(id encrypted_password reset_password_token reset_password_sent_at remember_created_at
sign_in_count current_sign_in_at last_sign_in_at current_sign_in_ip last_sign_in_ip confirmation_token confirmed_at
confirmation_sent_at unconfirmed_email failed_attempts unlock_token locked_at created_at updated_at stp_customer_id slug
provider auth_token)
json.profile Profile.column_names - %w(id user_id created_at updated_at) + %w(avatar)