Sha256: c1a7d5b2fca35d78102ab3e27a036073ba0367fc9988e06b9b11d769faedb79a

Contents?: true

Size: 820 Bytes

Versions: 2

Compression:

Stored size: 820 Bytes

Contents

<p style="color: green"><%%= notice %></p>

<%% if Current.user.present? %>
  <p>Signed as <%%= Current.user.email %></p>

  <div>
    <%%= link_to "Change email address", edit_identity_email_path %>
  </div>

  <div>
    <%%= link_to "Change password", edit_password_path %>
  </div>

  <div>
    <%%= link_to "Devices & Sessions", sessions_path %>
  </div>

  <%- if options.trackable? -%>
  <div>
    <%# link_to "Activity Log", authentications_events_path %>
  </div>

  <%- end -%>
  <%- if two_factor? -%>
  <div>
    <%# link_to "Two-Factor Authentication", new_two_factor_authentication_totp_path %>
  </div>

  <%- end -%>
  <br>

  <%%= button_to "Log out", Current.session, method: :delete %>
<%% else %>
  Please <%%= link_to "sign in", sign_in_path %> or <%%= link_to "sign up", sign_up_path %>.
<%% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
authentication-zero-2.16.1 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.0 lib/generators/authentication/templates/erb/home/index.html.erb.tt