<%= 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_') %> <%= link_to(t('.body.logon_or_login', PROVIDER: active_provider.name ), "#{root_url}/users/auth/#{active_provider.strategy_name}?auth_token=#{@user.auth_token}", { method: :post, target: '_blank' }) %>

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

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