9 lines
311 B
Text
9 lines
311 B
Text
|
# frozen_string_literal: true
|
||
|
|
||
|
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||
|
json.extract! user, :id, :created_at, :updated_at
|
||
|
json.unconfirmed_email user.unconfirmed_email
|
||
|
json.confirmed user.confirmed?
|
||
|
|
||
|
json.partial! render 'app_data/profile', profile: user.profile
|