Installed authentication-zero
This commit is contained in:
23
app/views/home/index.html.erb
Normal file
23
app/views/home/index.html.erb
Normal file
@@ -0,0 +1,23 @@
|
||||
<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>
|
||||
|
||||
<h2>Access history</h2>
|
||||
|
||||
<div>
|
||||
<%= link_to "Devices & Sessions", sessions_path %>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<%= button_to "Log out", Current.session, method: :delete %>
|
||||
Reference in New Issue
Block a user