Change /send_password_reset to /forgot_password #19
Reference in New Issue
Block a user
No description provided.
Delete Branch "forgot-password"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR is a small change.
Changed the name of /send_password_reset to /forgot_password, which I thought was more idiomatic, and less likely to be confused with the /reset_password page (the page where you actually reset your password, once you get the secret link).
I also removed the "cancel" button from the login page (not really sure what it means to cancel, when logging in),
and added a "Forgot Password?" gray link at 50px below the login b utton.
Besides two minor styling change requests it all looks great!
@ -26,2 +26,4 @@<div class="capsule center-text flash-message font-failure">{{ flash_msg }}.</div>{%- endif -%}<div class="forgot-password center-text" style="margin-top: 50px;">Some small (opinionated) styling suggestions here:
I would recommend setting
margin-top: 25pxinstead of50px.Then, on line 30, remove the entire
style=" ... "section and use classes from our pattern library instead:class="label-small link". The CSS styles in the library definitely need some work but I quite like sticking with classes whenever possible (makes it much easier to deploy changes across the entire interface by only tweaking a class or two, rather than having to manually edit the style of each individual element).That will make the font near-black for now. We can set it to gray once I've fixed the classes :)
Oh yeah, one other thing I noticed. You have
forgot-passwordas a class on L29. Perhaps this is meant to be theidattribute value?Thanks, made these changes. I'm not totally aware of all of the classes are available in the pattern library, but will hopefully become aware of more of them over time through code reviews. Please feel free to point them out and ways to bring the css more in alignment with the rest of the codebase.
I don't have any preference for gray or near-black, as you feel. The font looks better now too that it matches.
forgot-password was accidentally put as a class name while I was trying to figure out how to style it lol