Sha256: fbaa4ff368a6a2575ddc584f7bb7acfa9c60c9a9f86eb36eeb268b9940fbe201

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 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_totp_path %>
</div>

<%% if Current.user.otp_secret.present? %>
  <div><%%= link_to "Recovery Codes", two_factor_authentication_recovery_codes_path %></div>
<%% 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

1 entries across 1 versions & 1 rubygems

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