summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorSven Selberg <sven.selberg@sonymobile.com>2015-02-09 13:52:42 +0100
committerSven Selberg <sven.selberg@sonymobile.com>2015-05-04 09:42:11 +0200
commit361284fec23eebc09c4bba418306a36805504dc7 (patch)
treef2e6d1ddba187fc43a3db58ad05ca6afa9ae50d0 /lib/api
parente22936c60f44f96db497b2355379d86c9b69b8d8 (diff)
downloadgitlab-ce-361284fec23eebc09c4bba418306a36805504dc7.tar.gz
Add current_sign_in_at to api User
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 79b4afa40ba..b23eff3661c 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -20,7 +20,7 @@ module API
class UserFull < User
expose :email
- expose :theme_id, :color_scheme_id, :projects_limit
+ expose :theme_id, :color_scheme_id, :projects_limit, :current_sign_in_at
expose :identities, using: Entities::Identity
expose :can_create_group?, as: :can_create_group
expose :can_create_project?, as: :can_create_project