Files
grecia/app/components/account/sign_in_info_component.html.erb
taitus 87fc3c572b Add security secret "last_sign_in"
In order to comply with the security measure for the
ENS: "[op.acc.5.r5.2] The user shall be informed of
the last access made with his identity".

We have added a new secret to display the last
access made to the user on the "My account" page.
2023-10-20 08:03:24 +02:00

5 lines
221 B
Plaintext

<div class="callout primary">
<%= t("account.show.last_sign_in", last_sign_in_at: I18n.l(account.last_sign_in_at, format: :long),
last_sign_in_ip: account.last_sign_in_ip) %>
</div>