Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A "Confirm my account" link shows as https in development

1 answer  ·  posted 2y ago by trichoplax‭  ·  last activity 7d ago by Monica Cellio‭

Question discussion
#1: Initial revision by user avatar trichoplax‭ · 2023-01-26T00:31:33Z (almost 2 years ago)
"Confirm my account" link shows as https in development
As instructed in the ["Create administrator account" section of the QPixel Installation guide](https://github.com/codidact/qpixel/blob/develop/INSTALLATION.md#create-administrator-account) 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:

```text
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?