Sha256: 33cdc4387936b9c5326349d699991c05958ce113c7dd83bc1b66e783a71cc50e

Contents?: true

Size: 818 Bytes

Versions: 9

Compression:

Stored size: 818 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

9 entries across 9 versions & 1 rubygems

Version Path
authentication-zero-2.16.10 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.9 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.8 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.7 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.6 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.5 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.4 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.3 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.2 lib/generators/authentication/templates/erb/home/index.html.erb.tt