This repository has been archived by the owner on Nov 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove profile completion from the signup flow
And restore the previous quick login after verifying the user's email address. The profile completion form - which has a 'first name' and a 'last name' field along with a login button - can easily be mistaken for a login form. In fact, I fell for this myself, entering my email in the first name field and my password in the last name field! This presents a security risk: we end up inadvertently storing plain-text passwords of any users who happen to mistake the profile form for a login form.
- Loading branch information
1 parent
13c9428
commit b6d4923
Showing
2 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends 'base.html' %} | ||
{% from 'bootstrap/form.html' import render_field %} | ||
|
||
{% block heading %} | ||
Account verified | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<form action="{{ url_for('account.verify_email_complete', token=token) }}" method="POST"> | ||
{{ form.csrf_token }} | ||
{{ render_field(form.submit) }} | ||
</form> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters