login: remove login reminder page.
Remove the login reminder page. The meaning of "login reminder" wasn't clear (it's for recovering a forgotten username) and the functionality was redundant. The password reset page can already be used to recover forgotten usernames. There was also a privacy leak, since the login reminder page could be used to find out whether a given email is in use on Danbooru.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
<p>Your username is <%= @user.name %>.</p>
|
||||
@@ -1,24 +0,0 @@
|
||||
<div id="c-maintenance-user-login-reminders">
|
||||
<div id="a-new" class="fixed-width-container">
|
||||
<h1>Login Reminder</h1>
|
||||
|
||||
<p>If you supplied an email address when signing up, <%= Danbooru.config.app_name %> can email you your login information. Password details will not be provided and will not be changed.</p>
|
||||
|
||||
<p>If you didn't supply a valid email address, you are out of luck.</p>
|
||||
|
||||
<%= form_tag(maintenance_user_login_reminder_path, :class => "simple_form") do %>
|
||||
<div class="input email required">
|
||||
<label for="user_email" class="required">Email</label>
|
||||
<%= email_field(:user, :email) %>
|
||||
</div>
|
||||
|
||||
<%= submit_tag "Submit" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "sessions/secondary_links" %>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
Login Reminder - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user