Sha256: ee154303f49a835df214f18f82ac6e3e45441ada53b9770cfb9aea1ab90b733e

Contents?: true

Size: 931 Bytes

Versions: 4

Compression:

Stored size: 931 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 invitable? %>
  <div>
    <%%= link_to "Send invitation", new_invitation_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

4 entries across 4 versions & 1 rubygems

Version Path
authentication-zero-2.16.14 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.13 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.12 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.11 lib/generators/authentication/templates/erb/home/index.html.erb.tt