Add user email to the user.jbuilder
This commit is contained in:
parent
91a173052a
commit
f747571a75
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# 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.extract! user, :id, :created_at, :updated_at, :email
|
||||
json.unconfirmed_email user.unconfirmed_email
|
||||
json.confirmed user.confirmed?
|
||||
|
||||
|
|
Loading…
Reference in a new issue