Comments on "Confirm my account" link shows as https in development
Post
"Confirm my account" link shows as https in development Question
As instructed in the "Create administrator account" section of the QPixel Installation guide I created a second new user through the user interface (clicking "Sign Up") in my local development instance of QPixel. I then visited http://localhost:3000/letter_opener
in order to see the registration email containing the "Confirm my account" link. However, clicking on that link gave me an error page in Firefox:
SSL received a record that exceeded the maximum permissible length
It turned out that this was because the link started with https
instead of http
. Fixing this resulted in the page loading correctly and displaying:
Your email address has been successfully confirmed
Is this evidence of something incorrect about my local development instance? If not, is this something everyone has to do when confirming an email address in development for QPixel? If so, would it be useful to have the code check whether we are in development and display an http
link instead of an https
link in that case? Would this cause any problems or risks?
2 comment threads