diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 25df4602..94bde743 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -242,6 +242,12 @@ input[type="submit"]:active { margin-top: -83px; line-height: 18px; } +.forgotPasswordReset { + height: 215px !important; +} +.forgotPasswordReset input[type="submit"] { + top: 200px !important; +} /* forgot password fix */ diff --git a/app/views/users/mailer/reset_password_instructions.html.erb b/app/views/users/mailer/reset_password_instructions.html.erb index c0444a6d..bb938968 100644 --- a/app/views/users/mailer/reset_password_instructions.html.erb +++ b/app/views/users/mailer/reset_password_instructions.html.erb @@ -2,10 +2,10 @@
Please create a new password. Your password needs to contain a capital letter, a number, an emoji, 7 elements from the Periodic Table, and a plot containing a protagonist with some character development and a surprise twist ending.
-Just kidding. But it does have to be between 8 and 128 characters.
+Just kidding. But it does have to be between 8 and 40 characters.
Change your password using the link below.
-<%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %>
+<%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @token) %>
If you didn't request this, click your heels three times and pretend nothing ever happened.
diff --git a/app/views/users/passwords/edit.html.erb b/app/views/users/passwords/edit.html.erb index 109d2e25..5eb51623 100644 --- a/app/views/users/passwords/edit.html.erb +++ b/app/views/users/passwords/edit.html.erb @@ -1,15 +1,15 @@ <% content_for :title, "Change Password | Metamaps" %>