Sha256: 214c3ef9ca6959ec44e24150b8e106b21fb39121183f5e09a96021cfc86ab3ce

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

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

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

<h2>Login and verification</h2>

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

<div>
  <%%= link_to "Change email address", edit_identity_email_path %>
</div>
<%- if two_factor? %>
<div>
  <%%= link_to "Two-Factor Authentication", new_two_factor_authentication_profile_totp_path %>
</div>

<%% if Current.user.otp_required_for_sign_in? %>
  <div><%%= link_to "Recovery Codes", two_factor_authentication_profile_recovery_codes_path %></div>
  <%- if webauthn? -%>
  <div><%%= link_to "Security keys", two_factor_authentication_profile_security_keys_path %></div>
  <%- end -%>
<%% end %>
<%- end -%>
<%- if invitable? %>
<div>
  <%%= link_to "Send invitation", new_invitation_path %>
</div>
<%- end -%>
<%- if masqueradable? %>
<div>
  <%%= button_to "Signin as last user", user_masquerade_path(User.last) %>
</div>
<%- end -%>

<h2>Access history</h2>

<div>
  <%%= link_to "Devices & Sessions", sessions_path %>
</div>
<%- if options.trackable? %>
<div>
  <%%= link_to "Activity Log", authentications_events_path %>
</div>
<%- end -%>

<br>

<div>
  <%%= button_to "Log out", Current.session, method: :delete %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
authentication-zero-2.16.25 lib/generators/authentication/templates/erb/home/index.html.erb.tt
authentication-zero-2.16.24 lib/generators/authentication/templates/erb/home/index.html.erb.tt