<%= t('.body.hello', NAME: @user.profile.full_name) %>

<%= _t('.body.intro', { GENDER: Setting.find_by(name: 'name_genre').value, FABLAB: Setting.find_by(name: 'fablab_name').value }) # messageFormat %> <%= link_to URI(root_url).host, root_url %>.

<% active_provider = AuthProvider.active %> <% if active_provider.providable_type == DatabaseProvider.name %>

<%= t('.body.connection_parameters') %>

<%= t('.body.account_name') %> <%= @user.email %>

<%= t('.body.password') %> <%= @generated_password %>

<%= t('.body.temporary_password') %> <%= t('.body.keep_advantages') %>

<% else %>

<%= t('.body.thanks_to_') %> <%= t('body.logon_or_login', PROVIDER: active_provider.name )%>

<%= t('.body.token_if_link_problem') %>

<%= @user.auth_token %>
<% end %>