diff --git a/app/assets/javascripts/discourse/templates/user-invited-show.hbs b/app/assets/javascripts/discourse/templates/user-invited-show.hbs index 66a99545117..e6cbd794730 100644 --- a/app/assets/javascripts/discourse/templates/user-invited-show.hbs +++ b/app/assets/javascripts/discourse/templates/user-invited-show.hbs @@ -80,7 +80,7 @@ {{/if}} {{else}} {{unbound invite.email}} - {{format-date invite.created_at}} + {{format-date invite.updated_at}} {{#if invite.expired}}
{{i18n 'user.invited.expired'}}
diff --git a/app/serializers/invite_serializer.rb b/app/serializers/invite_serializer.rb index 26b5c1794fb..befa52fc21c 100644 --- a/app/serializers/invite_serializer.rb +++ b/app/serializers/invite_serializer.rb @@ -2,7 +2,7 @@ class InviteSerializer < ApplicationSerializer - attributes :email, :created_at, :redeemed_at, :expired, :user + attributes :email, :updated_at, :redeemed_at, :expired, :user def include_email? !object.redeemed?